[Nginx] Fix Nginx buffer sizes by moving parameters to correct location

This commit is contained in:
andryyy 2022-04-05 22:35:02 +02:00
parent 654dbf8198
commit 5e56566de6
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -22,10 +22,6 @@
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy strict-origin;
proxy_buffer_size 128k;
proxy_buffers 64 512k;
proxy_busy_buffers_size 512k;
index index.php index.html;
client_max_body_size 0;
@ -167,7 +163,9 @@
proxy_connect_timeout 75;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
#proxy_buffers 64 256k;
proxy_buffer_size 128k;
proxy_buffers 64 512k;
proxy_busy_buffers_size 512k;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;