fix: increase Nginx header and cookie size limits

This commit is contained in:
swve 2024-10-06 12:46:10 +02:00
parent f454520972
commit 8940f7ebfa

View file

@ -3,6 +3,15 @@ server {
server_name localhost;
client_max_body_size 500M;
# Increase header buffer size
large_client_header_buffers 4 32k;
# Increase the maximum allowed size of the client request body
client_body_buffer_size 32k;
# Increase the maximum allowed size of the client request header fields
client_header_buffer_size 32k;
# NextJS Revalidation
location /api/revalidate {
proxy_pass http://localhost:8000;