Commit 1f3ee098 authored by Simon's avatar Simon

release 1.1.1

parent 4fc6b9ac
...@@ -33,14 +33,14 @@ location ~* \.(?:rss|atom)$ { ...@@ -33,14 +33,14 @@ location ~* \.(?:rss|atom)$ {
# Media files # Media files
location ~* \.(?:webp|jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ { location ~* \.(?:webp|jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ {
access_log off; access_log off;
expires 1M; expires 6M;
} }
# Media: svgz files are already compressed. # Media: svgz files are already compressed.
location ~* \.svgz$ { location ~* \.svgz$ {
access_log off; access_log off;
gzip off; gzip off;
expires 1M; expires 6M;
} }
# CSS and JavaScript # CSS and JavaScript
...@@ -52,6 +52,6 @@ location ~* \.(?:css|js)$ { ...@@ -52,6 +52,6 @@ location ~* \.(?:css|js)$ {
# Web fonts # Web fonts
# If you are NOT using cross-domain-fonts.conf, uncomment the following directive # If you are NOT using cross-domain-fonts.conf, uncomment the following directive
location ~* \.(?:eot|otf|tt[cf]|woff2?)$ { location ~* \.(?:eot|otf|tt[cf]|woff2?)$ {
expires 1M; expires 6M;
access_log off; access_log off;
} }
...@@ -90,12 +90,12 @@ http { ...@@ -90,12 +90,12 @@ http {
# https://nginx.org/en/docs/http/ngx_http_core_module.html#tcp_nopush # https://nginx.org/en/docs/http/ngx_http_core_module.html#tcp_nopush
tcp_nopush on; tcp_nopush on;
# Enable gzip compression.
include h5bp/web_performance/compression.conf;
# Enable brotli compression. # Enable brotli compression.
include h5bp/web_performance/compression-brotli.conf; include h5bp/web_performance/compression-brotli.conf;
# Enable gzip compression.
include h5bp/web_performance/compression.conf;
# Specify file cache expiration. # Specify file cache expiration.
# include h5bp/web_performance/cache_expiration.conf; # include h5bp/web_performance/cache_expiration.conf;
......
Markdown is supported
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