Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($http_host != 'skincodeshop.ru') {
- return 301 http://www.skincodeshop.ru$request_uri;
- }
- location / {
- try_files $uri $uri/ @rewrite;
- }
- location ~* ^/core/ {
- deny all;
- }
- location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|bmp|woff)$ {
- try_files $uri $uri/ @rewrite;
- access_log off;
- expires 10d;
- break;
- }
- if ($request_uri ~* '^/index.php$') {
- return 301 /;
- }
- if ($request_uri ~* '^/index.html$') {
- return 301 /;
- }
- if ($request_uri ~* '^/index.htm$') {
- return 301 /;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement