Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
9043c46d
Commit
9043c46d
authored
May 14, 2019
by
Markus Scheidgen
Browse files
Added chache header for serice worker. [skip ci]
parent
8f375243
Pipeline
#48293
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ops/helm/nomad/templates/gui-deployment.yml
View file @
9043c46d
...
...
@@ -17,6 +17,12 @@ data:
rewrite ^{{ .Values.proxy.external.path }}/gui/(.*)$ /nomad/$1 break;
try_files $uri {{ .Values.proxy.external.path }}/gui/index.html;
}
location {{ .Values.proxy.external.path }}/gui/service-worker.js {
root /app/;
rewrite ^{{ .Values.proxy.external.path }}/gui/(.*)$ /nomad/$1 break;
more_clear_headers "Cache-Control";
add_header Cache-Control "public, max-age=60, s-maxage=60";
}
}
env.js
:
|
window.nomadEnv = {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment