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