daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. location / {
  2.     /*your rules here*/
  3. }
  4.    
  5. location /mypath {
  6.     rewrite ^/mypath$ /real/path/to/file/thisfile.html;
  7. }
  8.    
  9. location = /mypath {
  10.     try_files /myotherpath/thisfile.html =404;
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top