Created
July 14, 2022 23:13
-
-
Save ph00lt0/c6a29ae939248800a1dcee0a33fa6e3e to your computer and use it in GitHub Desktop.
NGINX redirect folder
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 ~ ^/images/(.*) { | |
return 301 /assets/images/$1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment