This commit is contained in:
Artur Kuś 2025-08-18 18:38:37 +02:00
parent 9c8abd4d2c
commit 0763532809
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
# Nowe lokacje dla cache'owania # Nowe lokacje dla cache'owania
location ~* \.(jpg|jpeg|png|gif|ico|webp)$ { location ~* \.(jpg|jpeg|png|gif|ico|webp)$ {
proxy_pass https://arti24-container:3000; proxy_pass http://arti24-container:3000;
proxy_cache MEDIA; proxy_cache MEDIA;
proxy_cache_valid 200 30d; proxy_cache_valid 200 30d;
proxy_cache_use_stale error timeout updating; proxy_cache_use_stale error timeout updating;
@ -55,7 +55,7 @@
} }
location ~* \.(css|js)$ { location ~* \.(css|js)$ {
proxy_pass https://arti24-container:3000; proxy_pass http://arti24-container:3000;
proxy_cache STATIC; proxy_cache STATIC;
proxy_cache_valid 200 7d; proxy_cache_valid 200 7d;
proxy_cache_use_stale error timeout updating; proxy_cache_use_stale error timeout updating;