From 75fec1907939fbb8b6ec751b4a54fc680f6fb01e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 1 Aug 2021 18:22:50 +0200 Subject: [PATCH] website/docs: add note for nginx header size Signed-off-by: Jens Langhammer --- website/docs/providers/proxy/forward_auth.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docs/providers/proxy/forward_auth.mdx b/website/docs/providers/proxy/forward_auth.mdx index 33592d586..eec89465b 100644 --- a/website/docs/providers/proxy/forward_auth.mdx +++ b/website/docs/providers/proxy/forward_auth.mdx @@ -80,6 +80,9 @@ server { proxy_set_header Host $host; add_header Set-Cookie $auth_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,