curl-library
How can the client visit the origin server via HTTPS proxy?
Date: Thu, 23 Feb 2017 03:39:38 +0000
> 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 reverse proxy ---> origin server
> IP1 IP3:port3 IP4:port4
>
> 3.The last one is the following:
> Terminal ---> HTTPS proxy ---> HTTPS reverse 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.
Thanks a lot for moparisthebest's help.
If I call curl_easy_setopt(curl, CURLOPT_URL, "https://IP4:port4/xxx/xx"); in scenario 2,
how can the HTTPS message reach origin server via HTTPS reverse proxy?
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-02-23