Skip to content

Instantly share code, notes, and snippets.

@ph00lt0
Created July 14, 2022 23:13
Show Gist options
  • Save ph00lt0/c6a29ae939248800a1dcee0a33fa6e3e to your computer and use it in GitHub Desktop.
Save ph00lt0/c6a29ae939248800a1dcee0a33fa6e3e to your computer and use it in GitHub Desktop.
NGINX redirect folder
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