mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 11:59:26 +00:00
fix: increase Nginx header and cookie size limits
This commit is contained in:
parent
f454520972
commit
8940f7ebfa
1 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue