Welcome! Log In Create A New Profile

Advanced

Re: Proxy_pass url with a #

Brian W.
October 08, 2018 11:22AM
I want to do a successful auth, which I can, and then after the successful
auth be reverse proxied to the specified web server, not a simple 302
redirect, but actual reverse proxy. When I replace the hello world line
with a get, I just get blank white screen. I can curl -i and get a 200. I
can also reverse proxy without the auth and have it work.

What I need to figure out is how do I do the reverse proxy to a web server
on a different machine and send the user there via reverse proxy after a
successful auth.

Brian

On Mon, Oct 8, 2018, 7:07 AM Francis Daly <francis@daoine.org> wrote:

> On Sun, Oct 07, 2018 at 06:54:54AM -0700, Brian Whalen wrote:
>
> Hi there,
>
> > In summary I am trying to reverse proxy a group of windows web servers,
> > where there is a # in the url. I have it mostly working except this.
>
> I'm afraid I still don't fully understand what specific problem you
> are reporting.
>
> However, from later in your mail, it appears that the # may not be
> fully relevant.
>
> > I dont think the hash is the whole problem though, since if I try
> > to load some other page after the successful auth it also fails.
>
> Can you show one specific request that you make, and show the response
> that you get, and indicate how it is different from the response that you
> want? That might make it possible for someone else to repeat the issue,
> which might make it easier to identify the solution.
>
> > I know also that If I just do a straight proxy_pass to the url without
> the
> > ldap auth and then type in nginxserver/path#/with/pound that works.
>
> Can you describe that in terms of http requests, perhaps made using the
> "curl" command line client?
>
> If you look in the access logs of nginx and the upstream for these
> requests, do you see the # character appearing at all?
>
> Good luck with it,
>
> f
> --
> Francis Daly francis@daoine.org
> _______________________________________________
> 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

Proxy_pass url with a #

Brian W. October 05, 2018 12:02PM

Re: Proxy_pass url with a #

Francis Daly October 06, 2018 06:42PM

Re: Proxy_pass url with a #

Brian Whalen October 07, 2018 09:56AM

Re: Proxy_pass url with a #

Francis Daly October 08, 2018 10:10AM

Re: Proxy_pass url with a #

Brian W. October 08, 2018 11:22AM

Re: Proxy_pass url with a #

Francis Daly October 08, 2018 02:24PM

Re: Proxy_pass url with a #

Brian W. October 08, 2018 03:56PM

Re: Proxy_pass url with a #

Francis Daly October 08, 2018 06:14PM

Re: Proxy_pass url with a #

Brian W. October 09, 2018 09:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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