diff --git a/nginx-config/https/https-bodypainter-eu.conf b/nginx-config/https/https-bodypainter-eu.conf index 5f6a542..98f4926 100755 --- a/nginx-config/https/https-bodypainter-eu.conf +++ b/nginx-config/https/https-bodypainter-eu.conf @@ -13,16 +13,7 @@ map $http_user_agent $limit_key { limit_req_zone $limit_key zone=ip_limit:10m rate=200r/s; limit_req_status 429; -proxy_cache_path /var/cache/nginx - levels=1:2 - keys_zone=COMBINED_CACHE:320m - inactive=7d - max_size=2500m - use_temp_path=off - manager_files=0 - loader_files=0 - loader_threshold=300 - loader_sleep=50; +proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=COMBINED_CACHE:320m inactive=7d max_size=2500m use_temp_path=off manager_files=0 loader_files=0 loader_threshold=300 loader_sleep=50; server { listen 443 ssl; @@ -59,7 +50,7 @@ server { } # Statyczne zasoby (obrazy, css, js, fonts) - location ~* \.(jpg|jpeg|png|gif|ico|webp|svg|css|js|woff2)$ { + location ~* \.(jpg|jpeg|png|gif|ico|webp|svg|woff2)$ { limit_req off; proxy_cache COMBINED_CACHE; proxy_pass http://arti24-container:3000;