Redirecting existing links to a sub-folder to a new subdomain

codecowboy nginx-forum at
Sun Feb 22 18:27:17 UTC 2015


Thanks for your reply. I got this working. Here's what I ended up with in
case it helps someone else:

"rewrite /student-area/(.*) $scheme://$1

This was placed outside of any location {} blocks but within the server {}

Posted at Nginx Forum:,256869,256873#msg-256873

More information about the nginx mailing list