I found the solution to my problem!If you want to configure a reverse proxy with HTTPS you have to install the SSL-certificates on the host (and not in the remote server or virtual machine)!This is the final virtual hosts file:ServerName localhostDocumentRoot /var/www/html/<VirtualHost *:80 >ServerName [your.domain.com]ProxyPreserveHost OnRewriteEngine onRewriteCond %{SERVER_NAME} =[your.domain.com]</VirtualHost><VirtualHost *:443 >ServerName [your.domain.com]SSLProxyEngine onProxyPreserveHost OnSSLCertificateFile /etc/letsencrypt/live/[your.domain.com]/fullchain.pemSSLCertificateKeyFile /etc/letsencrypt/live/[your.domain.com]/privkey.pemInclude /etc/letsencrypt/options-ssl-apache.conf</VirtualHost>For the installation of the SSL-certificate I used Let's Encrypt. No need to use any other third-party software!All the steps that I made, can be found here: