mirror of
https://github.com/fergalmoran/podnoms.git
synced 2026-01-07 09:05:58 +00:00
20 lines
707 B
Plaintext
20 lines
707 B
Plaintext
## Compression.
|
|
gzip on;
|
|
gzip_buffers 16 8k;
|
|
gzip_comp_level 1;
|
|
gzip_http_version 1.1;
|
|
gzip_min_length 10;
|
|
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/x-icon application/vnd.ms-fontobject font/opentype application/x-font-ttf;
|
|
gzip_vary on;
|
|
gzip_proxied any; # Compression for all requests.
|
|
## No need for regexps. See
|
|
## http://wiki.nginx.org/NginxHttpGzipModule#gzip_disable
|
|
gzip_disable msie6;
|
|
|
|
## Serve already compressed files directly, bypassing on-the-fly
|
|
## compression.
|
|
##
|
|
# Usually you don't make much use of this. It's better to just
|
|
# enable gzip_static on the locations you need it.
|
|
# gzip_static on;
|