My infrastructure consists of a "machine 1" that redirects the abc.example.org domain to a "machine 2" where subsonic is installed. It's apache2 on "machine 1" which manages this with the following redirection file:
- Code: Select all
<IfModule mod_ssl.c>
<VirtualHost *:443>
SSLProxyEngine On
ProxyPreserveHost on
ProxyRequests off
ServerName abc.example.org
ServerAdmin webmaster@example.org
ProxyPass / http://192.168.1.11:4040/
ProxyPassReverse / http://192.168.1.11:4040/
RewriteEngine on
# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.
SSLCertificateFile /etc/letsencrypt/live/abc.example.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/abc.example.org/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
It works but not entirely because if I click on parameters nothing happens (being admin, which is very problematic). If, in local, I access to subsonic throug the ip adress, everything works perfectly.
Do you know why ?
Thanks