HTTPS is HTTP over SSL. I have an Apache server running on a machine in order to publish a Subversion repository (read-only). Apparently there is no direct solution to export the repository using lighttpd, which is why there is the Apache instance for this single purpose.
Now, the SVN repository is supposed to be available via HTTPS and my question is about the principle one can use to do the proxying.
To put it simple, is it possible to get lighttpd to proxy an HTTP (without SSL) connection from/to the Apache instance, but export it to the outside world via HTTPS? Like this?:
client ---[https]----{-> lighttpd <---[http]----> local-apache }
Or is that not possible at all and I have to resort to this?:
client ---[https]----{-> lighttpd <---[https]---> local-apache }
Note: I'm exclusively asking about feasibility of the approach and configuration of lighttpd. The Apache instance is configured and running fine, no adjustments needed there.
The used lighttpd version is 1.4.28 on Debian Squeeze.