Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###########
- location ~* \.(jpg|jpeg|gif|png|svg|css|js|woff2|woff|webp|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|tar|wav|bmp|rtf|swf|ico|flv|txt|docx|xlsx)$ {
- expires max;
- log_not_found off;
- add_header Cache-Control public;
- etag on;
- }
- location ~ /\.git {
- deny all;
- access_log off;
- log_not_found off;
- }
- ##########
Add Comment
Please, Sign In to add comment