mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-24 07:25:13 -05:00
fix(docker): raise nginx request header buffers above the 8k default (#11404)
Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com>
This commit is contained in:
co-authored by
peaklabs-dev
parent
cfbcb7737b
commit
fb393da352
@@ -2,3 +2,9 @@
|
||||
|
||||
# Disable access logs
|
||||
access_log off;
|
||||
|
||||
# Allow request headers up to 32k (nginx default is 8k). Large JWT cookies can push the
|
||||
# Cookie header past 8k, and nginx would then reject the request with a bare 400
|
||||
# before it reaches the application.
|
||||
client_header_buffer_size 8k;
|
||||
large_client_header_buffers 8 32k;
|
||||
|
||||
@@ -2,3 +2,9 @@
|
||||
|
||||
# Disable access logs
|
||||
access_log off;
|
||||
|
||||
# Allow request headers up to 32k (nginx default is 8k). Large JWT cookies can push the
|
||||
# Cookie header past 8k, and nginx would then reject the request with a bare 400
|
||||
# before it reaches the application.
|
||||
client_header_buffer_size 8k;
|
||||
large_client_header_buffers 8 32k;
|
||||
|
||||
Reference in New Issue
Block a user