nginx, forward from one directory to another

Add this directive

location ~ ^/images/(.*) {
    return 301 /assets/images/$1;
}
Print Friendly, PDF & Email

More Like This


Categories


Web Hosting

Tags


  • Post a comment