proxy_pass https://arti24-container:3000; a nie http!
This commit is contained in:
parent
30b0e10f5d
commit
9c8abd4d2c
|
|
@ -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 http://arti24-container:3000;
|
proxy_pass https://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 http://arti24-container:3000;
|
proxy_pass https://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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue