1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00

Add Content-Length header to the forwarded request to Authelia

It seems nginx is closing the connection for some backends if
`proxy_set_header Content-Length "";` is not added to the
verification endpoint.
This commit is contained in:
Clement Michaud 2017-09-23 18:02:21 +02:00
parent 72612e00aa
commit e48b196f38

View File

@ -65,6 +65,7 @@ http {
proxy_set_header X-Original-URI $request_uri;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header Content-Length "";
proxy_pass http://authelia/verify;
}