proxy_pass http://arti24-container:3000 was ok.
This commit is contained in:
parent
9c8abd4d2c
commit
0763532809
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue