Merge branch 'master' of https://git.coolaj86.com/josh/wordpress-church-setup
This commit is contained in:
commit
8b135c0428
|
@ -0,0 +1,35 @@
|
|||
# Expires map
|
||||
map $sent_http_content_type $expires {
|
||||
default off;
|
||||
text/html epoch;
|
||||
text/css max;
|
||||
application/javascript max;
|
||||
~image/ max;
|
||||
application/font-woff max;
|
||||
application/font-woff2 max;
|
||||
application/x-font-truetype max;
|
||||
application/x-font-opentype max;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
expires $expires;
|
||||
|
||||
# Enable Gzip for select elements. (safe)
|
||||
gzip on;
|
||||
gzip_buffers 4 8k;
|
||||
gzip_proxied any;
|
||||
gzip_types
|
||||
text/css
|
||||
font/truetype
|
||||
font/opentype
|
||||
text/plain;
|
||||
# text/javascript
|
||||
# application/javascript;
|
||||
|
||||
gzip_static on;
|
||||
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
gzip_disable "MSIE [1-6]\.";
|
||||
gzip_vary on;
|
||||
|
Loading…
Reference in New Issue