Skip to content

Commit

Permalink
Update _nginx_standalone.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMythologist committed May 26, 2022
1 parent 1b61731 commit 5c7c61b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docs/providers/proxy/_nginx_standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ server {
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
add_header Set-Cookie $auth_cookie;
auth_request_set $auth_cookie $upstream_http_set_cookie;
# required for POST requests to work
proxy_pass_request_body off;
proxy_set_header Content-Length "";
}
# Special location for when the /auth endpoint returns a 401,
Expand Down

0 comments on commit 5c7c61b

Please sign in to comment.