curl-library
How can the client visit the origin server via HTTPS proxy?
Date: Thu, 23 Feb 2017 12:13:09 +0000
> 2.The scenario is like this:
> Terminal ---> HTTPS reverse proxy ---> origin server
> IP1 IP3:port3 IP4:port4
> 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?
>You can't, unless you have some special entrance you know of, or know how to reach that using another name or port number or something.
Thanks a lot for Daniel's help.
We write the HTTPS reverse proxy own In this scenario. It can dispatch HTTP messages if there is origin server's IP and port at the beginning of the request uri .
But curl can't send out message such as "get https://IP4:port4/xxx/xx HTTP / 1.1<https://IP4:port4/xxx/xx%20HTTP%20/%201.1>" but "get /xxx/xx HTTP / 1.1<https://IP4:port4/xxx/xx%20HTTP%20/%201.1>", If I call curl_easy_setopt(curl, CURLOPT_URL, "https://IP4:port4/xxx/xx");
Can I find a way to send message such as "get https://IP4:port4/xxx/xx HTTP / 1.1<https://IP4:port4/xxx/xx%20HTTP%20/%201.1>"? Or other way to send message to 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