Welcome! Log In Create A New Profile

Advanced

Re: Need to proxypass to different servers.

All files from this thread

File NameFile Size Posted byDate 
smime.p7s6 KBopen | downloadGreenGecko03/21/2013Read message
March 21, 2013 01:48AM
Thanks for your updates. We are able to proxypass to another domain. But
the issue is domain’s sub directories are not working fine.
That is in

server {
listen 80;
server_name geotest.com;
proxy_set_header Host geotest.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / {
proxy_pass http://192.168.1.1;
}
location /cms {
proxy_pass http://192.168.1.2;
}
}

While accessing geotest.com/cms we are getting the application that running
on 192.168.1.2 but when we access geotest.com/cms/address we are not
getting the address page but insated we are getting the same index page.

That’s we are unable to access any subdirectories inside /cms/ if we access
we are getting the index page only.

So can you please guys help us on it.

Thanks

Geo
http://forum.nginx.org/read.php?2,237520
SubjectAuthorPosted

Need to proxypass to different servers.

Geo P.C.March 18, 2013 11:56PM

Re: Need to proxypass to different servers.

Francis DalyMarch 19, 2013 05:22AM

Re: Need to proxypass to different servers.

Geo P.C.March 19, 2013 10:14AM

Re: Need to proxypass to different servers.

senior.weber@gmail.comMarch 19, 2013 10:42AM

Re: Need to proxypass to different servers.

Igor SysoevMarch 20, 2013 04:44AM

Re: Need to proxypass to different servers.

geopcgeoMarch 21, 2013 01:46AM

Re: Need to proxypass to different servers.

Francis DalyMarch 19, 2013 04:18PM

Re: Need to proxypass to different servers.

geopcgeoMarch 21, 2013 01:48AM

Re: Need to proxypass to different servers. Attachments

GreenGeckoMarch 21, 2013 01:56AM

Re: Need to proxypass to different servers.

geopcgeoMarch 21, 2013 02:10AM

Re: Need to proxypass to different servers.

Francis DalyMarch 21, 2013 02:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 50
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready