Commit 274dc13f authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Test gzip compression. [skip-ci]

parent 12ecb1bd
Pipeline #78277 skipped
......@@ -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;
}
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment