debug: interactive bug
This commit is contained in:
+1
-2
@@ -30,8 +30,7 @@ location = /s/ {
|
|||||||
# ^~ ensures this takes priority over the general /s/ proxy below.
|
# ^~ ensures this takes priority over the general /s/ proxy below.
|
||||||
location ^~ /s/static/ {
|
location ^~ /s/static/ {
|
||||||
alias /root/repo/urlshortener/static/;
|
alias /root/repo/urlshortener/static/;
|
||||||
expires 7d;
|
add_header Cache-Control "no-cache";
|
||||||
add_header Cache-Control "public, immutable";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# --- Proxy everything else under /s/ to the Python backend ---
|
# --- Proxy everything else under /s/ to the Python backend ---
|
||||||
|
|||||||
Reference in New Issue
Block a user