Created
December 20, 2016 23:30
-
-
Save rla/cce88eeb01361ebbcef67f04a38906b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
location ~ ^/something(.*)$ { | |
return 301 https://someplace.com; | |
} | |
return 301 https://example.com; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment