Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions admin_manual/installation/nginx-root.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ server {
client_body_timeout 300s;
fastcgi_buffers 64 4K;

# avoid 502 at root URL due to too large header response
proxy_busy_buffers_size 512k;
proxy_buffers 4 512k;
proxy_buffer_size 256k;
fastcgi_buffer_size 64k;
fastcgi_busy_buffers_size 64k;

# Proxy and client response timeouts
# Uncomment an increase these if facing timeout errors during large file uploads
#proxy_connect_timeout 60s;
Expand Down
7 changes: 7 additions & 0 deletions admin_manual/installation/nginx-subdir.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ server {
client_body_timeout 300s;
fastcgi_buffers 64 4K;

# avoid 502 at root URL due to too large header response
proxy_busy_buffers_size 512k;
proxy_buffers 4 512k;
proxy_buffer_size 256k;
fastcgi_buffer_size 64k;
fastcgi_busy_buffers_size 64k;

# Proxy and client response timeouts
# Uncomment an increase these if facing timeout errors during large file uploads
#proxy_connect_timeout 60s;
Expand Down