Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location / {
- /*your rules here*/
- }
- location /mypath {
- rewrite ^/mypath$ /real/path/to/file/thisfile.html;
- }
- location = /mypath {
- try_files /myotherpath/thisfile.html =404;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement