Refactored gzip nginx

This commit is contained in:
2021-01-02 10:02:17 +01:00
parent 025fd40a98
commit 77b75d9e37
4 changed files with 11 additions and 11 deletions

View File

@@ -12,15 +12,6 @@ server
client_body_buffer_size 400M;
fastcgi_buffers 64 4K;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
{% include 'roles/native-nginx-docker-proxy/templates/proxy_pass.conf.j2' %}
location ^~ /.well-known {