Redirecting existing links to a sub-folder to a new subdomain
nginx-forum at nginx.us
Sun Feb 22 08:30:58 UTC 2015
If I want to transform links from
http://subdomain.exampledomain.com/some-article where subdomain has the same
name as the subfolder, do I need a rewrite or a redirect? I *think* I need a
redirect but want to be sure I am doing it the recommended way.
I tried "rewrite /sub-folder-name/(.*)
But this didn't seem to have any effect after restarting nginx.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256869,256869#msg-256869
More information about the nginx