Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Set a particular location for address starting with '?'
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
mvip
September 24, 2009 12:22PM
Registered: 14 years ago
Posts: 6
Cliff, you're my hero! =)
I modified it slightly and ended up with:
location = / {
if ($is_args) {
proxy_pass http://blog.foobar.com; # wordpress
}
proxy_pass http://www.foobar.com; # django
}
It works great and that is all that matters.
To address your question with sub-domain or folder -- it's a matter of having a pretty URLs and a seamlessly integrated blog and site. =)
Reply
Quote
RSS
Subject
Author
Posted
Set a particular location for address starting with '?'
mvip
September 23, 2009 07:38PM
Re: Set a particular location for address starting with '?'
Cliff Wells
September 23, 2009 09:36PM
Re: Set a particular location for address starting with '?'
mvip
September 24, 2009 09:30AM
Re: Set a particular location for address starting with '?'
mvip
September 24, 2009 12:22PM
Re: Set a particular location for address starting with '?'
Cliff Wells
September 24, 2009 11:12AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 304
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018