<VirtualHost *:443>
proxypreservehost on
SSLProxyEngine on
SSLProxyCheckPeerName off
proxypass /generate http://127.0.0.1:5000/
proxypassreverse /generate http://127.0.0.1:5000/
proxypass / https://127.0.0.1:5241/
proxypassreverse / https://127.0.0.1:5241/
SSLProxyEngine On
SSLCertificateFile "..."
SSLCertificateKeyFile "..."
</VirtualHost>