Skip to content
Snippets Groups Projects
Commit cbe5105f authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added docs redirect. [skip-ci]

parent 0a5bc722
No related branches found
No related tags found
1 merge request!60v0.6.0 Release
Pipeline #61470 skipped
...@@ -29,6 +29,13 @@ data: ...@@ -29,6 +29,13 @@ data:
try_files $uri {{ .Values.proxy.external.path }}/gui/index.html; try_files $uri {{ .Values.proxy.external.path }}/gui/index.html;
} }
location {{ .Values.proxy.external.path }}/docs {
proxy_set_header Host $host;
proxy_pass_request_headers on;
proxy_pass http://{{ include "nomad.fullname" . }}-app:8000;
try_files $uri {{ .Values.proxy.external.path }}/docs/index.html;
}
location {{ .Values.proxy.external.path }}/gui/service-worker.js { location {{ .Values.proxy.external.path }}/gui/service-worker.js {
add_header Last-Modified $date_gmt; add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment