Browse Source

* proxy buffers need for nuxt projects

master
dimti 3 months ago
parent
commit
e17103f4ab
  1. 3
      config/nginx/conf.d/vhosts.conf.example
  2. 3
      config/nginx/conf.d/z-nodejs.conf.example

3
config/nginx/conf.d/vhosts.conf.example

@ -36,9 +36,6 @@ server {
include includes.d/staticfiles.conf; include includes.d/staticfiles.conf;
client_max_body_size 300M; client_max_body_size 300M;
large_client_header_buffers 4 32k; large_client_header_buffers 4 32k;
proxy_buffer_size 16k;
proxy_buffers 8 16k;
proxy_busy_buffers_size 32k;
location ~ ^/index.php { location ~ ^/index.php {
fastcgi_pass php81; fastcgi_pass php81;
include fastcgi_params; include fastcgi_params;

3
config/nginx/conf.d/z-nodejs.conf.example

@ -16,5 +16,8 @@ server {
proxy_set_header Connection 'upgrade'; proxy_set_header Connection 'upgrade';
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade; proxy_cache_bypass $http_upgrade;
proxy_buffer_size 16k;
proxy_buffers 8 16k;
proxy_busy_buffers_size 32k;
} }
} }
Loading…
Cancel
Save