To allow a proxy to act as a tunnel for SSL connection as in HTTPS, you actually need to provide the HTTP method CONNECT. It took me some time to realize 😉
If you do this with Apache/mod_proxy, that means that you have to use the mod_proxy_connect and allow the CONNECT method.
Few pointers :
- CONNECT method
- Apache mod_proxy_connect