website/docs: add note for nginx header size

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-01 18:22:50 +02:00
parent a939e224fc
commit 75fec19079
1 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,9 @@ server {
proxy_set_header Host $host; proxy_set_header Host $host;
add_header Set-Cookie $auth_cookie; add_header Set-Cookie $auth_cookie;
auth_request_set $auth_cookie $upstream_http_set_cookie; auth_request_set $auth_cookie $upstream_http_set_cookie;
# Increase buffer size for large headers
proxy_buffers 8 16k;
proxy_buffer_size 16k;
} }
# Special location for when the /auth endpoint returns a 401, # Special location for when the /auth endpoint returns a 401,