curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: How can the client visit the origin server via HTTPS proxy?

From: moparisthebest <admin_at_moparisthebest.com>
Date: Wed, 22 Feb 2017 11:38:31 -0500

Hi,

On 02/22/2017 09:45 AM, Tanyaofeng wrote:
> we have three scenario,
> 1.The first one is like this:
> Terminal ---> HTTPS proxy ---> origin server
> IP1 IP2:port2 IP4:port4
>
> 2.The second one is like this:
> Terminal ---> HTTPS reserve proxy ---> origin server
> IP1 IP3:port3 IP4:port4
>
> 3.The last one is the following:
> Terminal ---> HTTPS proxy ---> HTTPS reserve proxy ---> origin server
> IP1 IP2:port2 IP3:port3 IP4:port4
>
> Now, my question is how I can visit the service on origin server in scenario 2 and 3?

A 'reverse proxy' is the same to the client as an 'origin server', you
can't even tell the difference!

So 2 is just regular curl with no proxy, and 3 is exactly like your
scenario 1.

Hope that helps!
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-02-22