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
274dc13f
Commit
274dc13f
authored
Jul 10, 2020
by
Markus Scheidgen
Browse files
Test gzip compression. [skip-ci]
parent
12ecb1bd
Pipeline
#78277
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ops/helm/nomad/templates/gui-deployment.yml
View file @
274dc13f
...
...
@@ -17,6 +17,19 @@ data:
proxy_connect_timeout {{ .Values.proxy.timeout }};
proxy_read_timeout {{ .Values.proxy.timeout }};
{{ if .Values.gui.gzip }}
gzip on;
gzip_proxied any;
gzip_types
text/css
text/javascript
text/xml
text/plain
application/javascript
application/x-javascript
application/json;
{{ end }}
location / {
proxy_pass http://{{ include "nomad.fullname" . }}-app:8000;
}
...
...
ops/helm/nomad/values.yaml
View file @
274dc13f
...
...
@@ -78,6 +78,8 @@ gui:
matomoSiteId
:
1
## send matomo(piwik) user tracking data
matomoEnabled
:
false
## automatically gz based on header
gzip
:
true
## Everything concerning the nginx that serves the gui, proxies the api
# It is run via NodePort service
...
...
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