Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gzip on;
- gzip_disable "MSIE [1-6]\\.(?!.*SV1)";
- gzip_proxied any;
- gzip_comp_level 5;
- gzip_types text/plain text/css application/javascript application/x-javascript text/xml application/xml application/rss+xml text/javascript image/x-icon image/bmp image/svg+xml;
- gzip_vary on;
- location ~* \.(jpg|jpeg|png|gif|ico|css|js|pdf|svg)$ {
- expires 7d;
- add_header Cache-Control "public, no-transform";
- }
- location ~* \.(jpg|jpeg|png|gif|ico|css|js|pdf|svg)$ {
- expires 7d;
- }
- location ~* \.(pdf|html|swf)$ {
- expires 7d;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement