location = / { proxy_pass $scheme://$host/login; } ? --- *B. R.* On Thu, Apr 21, 2016 at 2:56 PM, Geo P.C. <pcge...@gmail.com> wrote:
> I have a wordpress site in which be default while accessing wp.geo.com it > goes to login page wp.geo.com/login/ . > > But what i need when i access wp.geo.com, in browser address bar it > should display as wp.geo.com but inside server it should proxypass to > wp.geo.com/login. > > We tried configuring nginx proxypass and redirect but its getting redirect > loop. > > Can any one please help to write the nginx configuration rule for this. > > Thanks > > > _______________________________________________ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx