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:
parent
72612e00aa
commit
e48b196f38
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user