sudo a2enmod rewrite proxy proxy_http
nano /etc/apache2/sites-available/jellyfin.conf
<VirtualHost *:80>
ServerName jellyfin.SITE.org
ServerAlias jellyfin.SITE.org
ProxyPreserveHost On
ProxyRequests off
ProxyPass "/socket" "ws://127.0.0.1:8096/socket"
ProxyPassReverse "/socket" "ws://127.0.0.1:8096/socket"
ProxyPass "/" "http://127.0.0.1:8096/"
ProxyPassReverse "/" "http://127.0.0.1:8096/"
ErrorLog "/var/log/apache2/error-jellyfin.log"
CustomLog "/var/log/apache2/acces-jellyfin.log" combined
</VirtualHost>
sudo a2ensite jellyfin.conf
sudo service apache2 restart
sudo a2enmod rewrite proxy proxy_http
nano /etc/apache2/sites-available/transmission.conf
<VirtualHost *:80>
ServerName torrent.SITE.org
ServerAlias torrent.SITE.org
Redirect / /transmission
ProxyPreserveHost On
ProxyRequests off
ProxyPass /transmission http://127.0.0.1:9091/transmission
ProxyPassReverse /transmission http://127.0.0.1:9091/transmission
ErrorLog "/var/log/apache2/error-transmission.log"
CustomLog "/var/log/apache2/acces-transmission.log" combined
</VirtualHost>
sudo a2ensite transmission.conf
sudo service apache2 restart