Advertisement
livefree

conf.d

Jan 29th, 2013
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. rewrite /wp-admin$ $scheme://$host$uri/ permanent;
  2.     location ~* ^.+\.(css|js)$ {
  3.         rewrite ^(.+)\.(\d+)\.(css|js)$ $1.$3 last;
  4.         expires 31536000s;
  5.         access_log off;
  6.         log_not_found off;
  7.         add_header Pragma public;
  8.         add_header Cache-Control "max-age=31536000, public";
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement