Created
February 7, 2022 21:23
-
-
Save acidtib/24e6f7b897c6c0903c35db62da2740b4 to your computer and use it in GitHub Desktop.
redirect list for nginx
This file contains hidden or 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
map $request_uri $redirect { | |
default ""; | |
/destinations /locations; | |
/contact /contact-us; | |
/photographer/valeriel /photographers/valeriel; | |
/photographer/marciem /photographers/marciem; | |
/miami-photographers /miami/photographers; | |
/paris-photographers /paris/photographers; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment