On Fri, May 26, 2023 at 04:18:59PM +0530, Miten Mehta wrote:
Hi there,
> Thanks for guidance. If i enable direct internet access from reverse proxy
> then can i just use proxy_pass $request_uri and have user format his url as
> https://myreverseproxy.com/https://mypub/somepath.
Here, $request_uri would start with /, so it would not Just Work as-is.
I'm not sure how https://myreverseproxy.com/https://mypub/somepath is
different from a "normal" https://myreverseproxy.com/mypub/somepath
with a "normal" nginx config based on
location ^~ /mypub/ { proxy_pass https://mypub/; }
(plus the supporting configuration). So then you have a "normal" nginx
proxy_pass setup for specific remote web servers.
Which should Just Work like any other proxy_pass configuration.
Good luck with it,
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx