Facebook
From Beige Moth, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 269
  1.  
  2. location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
  3.   expires 1M;
  4.   access_log off;
  5.   add_header Cache-Control "public";
  6. }
  7.  
  8.  
  9. location ~* \.(?:css|js)$ {
  10.   expires 1M;
  11.   access_log off;
  12.   add_header Cache-Control "public";
  13. }
  14.