Skip to content

Commit

Permalink
Add gzip compression to dashy
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Aug 31, 2023
1 parent 4cf04fe commit ee29dd1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions services/dashy/dashy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,36 @@ metadata:
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/server-snippet: |
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_min_length 256;
gzip_types
application/atom+xml
application/geo+json
application/javascript
application/x-javascript
application/json
application/ld+json
application/manifest+json
application/rdf+xml
application/rss+xml
application/xhtml+xml
application/xml
font/eot
font/otf
font/ttf
image/svg+xml
text/css
text/javascript
text/plain
text/xml;
spec:
ingressClassName: "nginx"
tls:
Expand Down

0 comments on commit ee29dd1

Please sign in to comment.