Merge pull request #94 from clems4ever/nginx-abort-connection

Add Content-Length header to the forwarded request to Authelia
pull/97/head
Clément Michaud 2017-09-23 19:01:29 +02:00 committed by GitHub
commit 59d0a06a95
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-Original-URI $request_uri;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_set_header Content-Length "";
proxy_pass http://authelia/verify; proxy_pass http://authelia/verify;
} }