++
This commit is contained in:
parent
e09067365f
commit
798648e85d
@ -79,20 +79,20 @@ data:
|
|||||||
# proxy_pass http://backend-svc.django.svc.cluster.local:80;
|
# proxy_pass http://backend-svc.django.svc.cluster.local:80;
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# location ~^/workspaces-v2/(.+).js {
|
location ~^/workspaces-v2/(.+).js {
|
||||||
# proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
# proxy_set_header Connection "";
|
proxy_set_header Connection "";
|
||||||
# rewrite /workspaces-v2/(.+) /$1 break;
|
rewrite /workspaces-v2/(.+) /$1 break;
|
||||||
# proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
|
proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
|
||||||
# }
|
}
|
||||||
|
|
||||||
|
|
||||||
# location ~^/workspaces-v2/(.+)\.wasm$ {
|
location ~^/workspaces-v2/(.+)\.wasm$ {
|
||||||
# proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
# proxy_set_header Connection "";
|
proxy_set_header Connection "";
|
||||||
# rewrite ^/workspaces-v2/(.+) /$1 break;
|
rewrite ^/workspaces-v2/(.+) /$1 break;
|
||||||
# proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
|
proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
|
||||||
# }
|
}
|
||||||
|
|
||||||
location @index {
|
location @index {
|
||||||
add_header Cache-Control 'no-cache, must-revalidate, proxy-revalidate, max-age=0';
|
add_header Cache-Control 'no-cache, must-revalidate, proxy-revalidate, max-age=0';
|
||||||
@ -101,10 +101,10 @@ data:
|
|||||||
try_files /static/index.html =404;
|
try_files /static/index.html =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
# location ~^/workflows/(.+).js {
|
location ~^/workflows/(.+).js {
|
||||||
# rewrite /workflows/(.+) /$1 break;
|
rewrite /workflows/(.+) /$1 break;
|
||||||
# proxy_pass http://frontend-svc.processing.svc.cluster.local:80;
|
proxy_pass http://frontend-svc.processing.svc.cluster.local:80;
|
||||||
# }
|
}
|
||||||
location /service-worker.js {
|
location /service-worker.js {
|
||||||
try_files /static/$uri @index;
|
try_files /static/$uri @index;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user