I have the following ReverseProxy set up which works for http requests:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName sub.domain.com
ProxyRequests Off
ProxyVia Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:5010
ProxyPassReverse / http://localhost:5010/
</VirtualHost>
My question is, how can I handle https requests too if my backend (at :5010) doesn't support https?
So for example something like this: Client---https--->Apache----http---->Service