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