Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location / {
- rewrite ^(.*) https://$host$1 permanent;
- try_files $uri $uri/ =404;
- }
- Customer John: www.domain.com/John
- Customer Ada: www.domain.com/Ada
- etc...
- location ^~ /Mole/ {
- try_files $uri $uri/ =404;
- }
- location / {
- rewrite ^(.*) https://$host$1 permanent;
- try_files $uri $uri/ =404;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement