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.
pull/94/head
Clement Michaud 2017-09-23 18:02:21 +02:00
parent 72612e00aa
commit e48b196f38
1 changed files with 1 additions and 0 deletions

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;
}