Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #234 from YACS-RCOS/staging
Browse files Browse the repository at this point in the history
Increase nginx header buffer size
  • Loading branch information
Bad-Science committed Mar 22, 2017
2 parents 70ad3df + 7dc7e83 commit c1749bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,12 @@ http {
keepalive_disable msie6;
reset_timedout_connection on;

# If the buffer sizes are too low, then Nginx will write to a temporary file on disk instead of writing to memory.

client_body_buffer_size 10K;
client_header_buffer_size 1k;
client_header_buffer_size 2k;
client_max_body_size 8m;
large_client_header_buffers 2 1k;
large_client_header_buffers 2 2k;

server_tokens off;

Expand Down

0 comments on commit c1749bf

Please sign in to comment.