Welcome! Log In Create A New Profile

Advanced

Re: Redirect /login to /

B.R.
April 21, 2016 12:40PM
location = / {
proxy_pass $scheme://$host/login;
}
?
---
*B. R.*

On Thu, Apr 21, 2016 at 2:56 PM, Geo P.C. <pcgeopc@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
Subject Author Posted

Redirect /login to /

geopcgeo April 21, 2016 09:06AM

Re: Redirect /login to /

B.R. April 21, 2016 12:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready