feat: nginx uri issue is handled by increasing buffers

This commit is contained in:
Palash gupta 2022-06-17 08:07:33 +05:30
parent 7b315c6766
commit 9885572842
No known key found for this signature in database
GPG Key ID: 8FD05AE6F9150AD6

View File

@ -11,6 +11,16 @@ server {
gzip_buffers 16 8k;
gzip_http_version 1.1;
# to handle uri issue 414 from nginx
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
client_max_body_size 24M;
client_body_buffer_size 128k;
client_header_buffer_size 5120k;
large_client_header_buffers 16 5120k;
location / {
if ( $uri = '/index.html' ) {
add_header Cache-Control no-store always;