From e17103f4abc3e4b18918924e8e603be268079f22 Mon Sep 17 00:00:00 2001 From: dimti Date: Wed, 18 Sep 2024 13:34:53 +0300 Subject: [PATCH] * proxy buffers need for nuxt projects --- config/nginx/conf.d/vhosts.conf.example | 3 --- config/nginx/conf.d/z-nodejs.conf.example | 5 ++++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/nginx/conf.d/vhosts.conf.example b/config/nginx/conf.d/vhosts.conf.example index 7e37c37..b2ab620 100644 --- a/config/nginx/conf.d/vhosts.conf.example +++ b/config/nginx/conf.d/vhosts.conf.example @@ -36,9 +36,6 @@ server { include includes.d/staticfiles.conf; client_max_body_size 300M; large_client_header_buffers 4 32k; - proxy_buffer_size 16k; - proxy_buffers 8 16k; - proxy_busy_buffers_size 32k; location ~ ^/index.php { fastcgi_pass php81; include fastcgi_params; diff --git a/config/nginx/conf.d/z-nodejs.conf.example b/config/nginx/conf.d/z-nodejs.conf.example index 12e6907..726fc41 100644 --- a/config/nginx/conf.d/z-nodejs.conf.example +++ b/config/nginx/conf.d/z-nodejs.conf.example @@ -16,5 +16,8 @@ server { proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; + proxy_buffer_size 16k; + proxy_buffers 8 16k; + proxy_busy_buffers_size 32k; } -} \ No newline at end of file +}