Welcome! Log In Create A New Profile

Advanced

Re: login.html

Jeff Waugh
June 01, 2010 12:34PM
<quote who="Scott Behrens">

> I am having an issue with Reverse Proxy to a site that uses login.html as it's
> index page. I went ahead and used this as my index:
>
> location / {
> proxy_pass http://10.10.1.158:9080/;
> index login.html;

I doubt proxy_pass cares about index fallbacks -- nginx will serve whatever
the upstream hands back to it based on the request. So... is the *upstream*
correctly configured to use login.html as the default index file? If you're
trying to get around some kind of upstream ugliness, you probably need to do
a redirect to /login.html instead.

- Jeff

--
The Great Australian Internet Blackout http://www.internetblackout.com.au/

"We must be proactive, eternally vigilant, forever fighting,
overwhelmingly clever and handsome." - Robert Love

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

login.html

Scott Behrens June 01, 2010 12:26PM

Re: login.html

Jeff Waugh June 01, 2010 12:34PM

Re: login.html

Igor Sysoev June 01, 2010 01:56PM

Re: login.html

sbehrens June 02, 2010 09:31AM

Re: login.html

sbehrens June 02, 2010 09:49AM

Re: login.html

Igor Sysoev June 02, 2010 10:00AM

Re: login.html

Igor Sysoev June 02, 2010 10:00AM

Re: login.html

sbehrens June 02, 2010 10:26AM

Re: login.html

Igor Sysoev June 02, 2010 11:16AM

Re: login.html

sbehrens June 02, 2010 03:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 287
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