Welcome! Log In Create A New Profile

Advanced

Re: Reverse proxy to forward proxy to internet access

All files from this thread

File Name File Size   Posted by Date  
nginx.conf 4.5 KB open | download Yuval Abadi via nginx 05/31/2023 Read message
Francis Daly
May 27, 2023 03:50AM
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
Subject Author Posted

Reverse proxy to forward proxy to internet access

Miten Mehta May 25, 2023 07:44AM

Re: Reverse proxy to forward proxy to internet access

Francis Daly May 25, 2023 07:10PM

Re: Reverse proxy to forward proxy to internet access

Miten Mehta May 26, 2023 06:50AM

Re: Reverse proxy to forward proxy to internet access

Miten Mehta May 27, 2023 12:22AM

Re: Reverse proxy to forward proxy to internet access

Saint Michael May 27, 2023 12:40AM

Re: Reverse proxy to forward proxy to internet access

Francis Daly May 27, 2023 04:26AM

Re: Reverse proxy to forward proxy to internet access

Saint Michael May 27, 2023 10:44AM

Re: Reverse proxy to forward proxy to internet access

Francis Daly May 28, 2023 07:58AM

Re: Reverse proxy to forward proxy to internet access

Francis Daly May 27, 2023 04:14AM

Re: Reverse proxy to forward proxy to internet access

David Siembab May 28, 2023 12:00AM

Re: Reverse proxy to forward proxy to internet access

Saint Michael May 28, 2023 12:56AM

Re: Reverse proxy to forward proxy to internet access

Francis Daly May 27, 2023 03:50AM

Re: Reverse proxy to forward proxy to internet access

Miten Mehta May 29, 2023 07:06AM

duplicate ports across servers in nginx.conf

Yuval Abadi via nginx May 30, 2023 02:52AM

Re: duplicate ports across servers in nginx.conf

Francis Daly May 30, 2023 12:58PM

RE: duplicate ports across servers in nginx.conf Attachments

Yuval Abadi via nginx May 31, 2023 02:16AM

Re: duplicate ports across servers in nginx.conf

Francis Daly May 31, 2023 03:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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