Created
July 9, 2017 21:27
-
-
Save zooks/0b9c54c3a80304e2be8550fc0f73d677 to your computer and use it in GitHub Desktop.
nginx folder 301 redirect
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
location ~ ^/articles/(.*) { | |
return 301 /blog/$1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment