Advertisement
CSenshi

Untitled

Jul 18th, 2021
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1.  
  2. location ~ /\.(?!well-known).* {
  3. deny all;
  4. }
  5.  
  6. location ~* \.(js|css|html)$ {
  7. expires 365d;
  8. add_header Cache-Control "public, no-transform";
  9. }
  10.  
  11. location ~* \.(png|jpg|jpeg|gif|mp4|svg|woff2|woff|ttf|eot)$ {
  12. expires 365d;
  13. add_header Cache-Control "public, no-transform";
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement