aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ingress
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ingress')
-rw-r--r--templates/ingress/usr_local_etc_nginx_nginx.conf.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/ingress/usr_local_etc_nginx_nginx.conf.j2 b/templates/ingress/usr_local_etc_nginx_nginx.conf.j2
index 086d7f9..1e58153 100644
--- a/templates/ingress/usr_local_etc_nginx_nginx.conf.j2
+++ b/templates/ingress/usr_local_etc_nginx_nginx.conf.j2
@@ -18,6 +18,17 @@ http {
access_log /var/log/nginx/access.log vcombined;
+ gzip on;
+ gzip_vary on;
+ gzip_min_length 512;
+ gzip_types
+ text/plain
+ text/css
+ application/json
+ application/javascript
+ application/xml
+ image/svg+xml;
+
server {
listen 80 default_server;
server_name _;