I have a problem that when I use an SSL reverse proxy from site1 to site2, it works quite well except for the peculiar fact that all images are of the incorrect height. Everything else seems to be in order, only image height is affected.
Here's how my ReverseProxy is set up:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName site2.com
ServerAlias www.site2.com
SSLProxyEngine On
ProxyRequests Off
ServerAdmin [email protected]
ProxyPass "/" "https://site1.com/"
ProxyPassReverse "/" "https://site1.com/"
ServerAdmin [email protected]
DocumentRoot /var/www/site2.com
ProxyHTMLEnable On
ProxyHTMLURLMap https://site1.com/ /
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/DOMAIN/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/DOMAIN/privkey.pem
</VirtualHost>
</IfModule>
Please help me out, I'm at a loss here and have no idea what could be causing this. This is running Apache2 on an otherwise stock Debian 10 system.
The CMS I'm using is wordpress.
EDIT: It seems like the source code on Site2 is messed up and therefore not identical to Site1. What can be done to make sure the proxied version is completely identical to Site1?