Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Redirecting existing links to a sub-folder to a new subdomain
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
codecowboy
February 22, 2015 01:27PM
Registered: 9 years ago
Posts: 3
Hi,
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://studentarea.mydomainname.com/$1 permanent;"
This was placed outside of any location {} blocks but within the server {} block.
Reply
Quote
RSS
Subject
Author
Posted
Redirecting existing links to a sub-folder to a new subdomain
codecowboy
February 22, 2015 03:30AM
Re: Redirecting existing links to a sub-folder to a new subdomain
Francis Daly
February 22, 2015 10:50AM
Re: Redirecting existing links to a sub-folder to a new subdomain
codecowboy
February 22, 2015 01:27PM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 285
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018