From 60b484b77162ec9d4cbdeaa8d8cc00d5db42fcf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Ku=C5=9B?= Date: Mon, 18 Aug 2025 19:39:29 +0200 Subject: [PATCH] 30r/s --- nginx-config/https/https-bodypainter-eu.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx-config/https/https-bodypainter-eu.conf b/nginx-config/https/https-bodypainter-eu.conf index fac6aa1..6b2b0d9 100755 --- a/nginx-config/https/https-bodypainter-eu.conf +++ b/nginx-config/https/https-bodypainter-eu.conf @@ -1,9 +1,9 @@ # Limitowanie requestów (pozostawiamy bez zmian) - limit_req_zone $binary_remote_addr zone=ip_limit:10m rate=2r/s; + limit_req_zone $binary_remote_addr zone=ip_limit:10m rate=30r/s; # Konfiguracja cache (nowa część) proxy_cache_path /var/cache/nginx05GB levels=1:2 keys_zone=STATIC:50m inactive=24h max_size=500m use_temp_path=off; - proxy_cache_path /var/cache/nginx2GB levels=1:2 keys_zone=MEDIA:100m inactive=7d max_size=2g use_temp_path=off;\ + proxy_cache_path /var/cache/nginx2GB levels=1:2 keys_zone=MEDIA:100m inactive=7d max_size=2g use_temp_path=off; error_log /var/log/nginx/error.log notice;