====== Apache ====== ===== Activer/désactiver une configuration ===== a2ensite example.conf a2dissite example.conf ===== Exemples de configurations ===== ==== Jellyfin ==== sudo a2enmod rewrite proxy proxy_http nano /etc/apache2/sites-available/jellyfin.conf 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 sudo a2ensite jellyfin.conf sudo service apache2 restart ==== Transmission ==== sudo a2enmod rewrite proxy proxy_http nano /etc/apache2/sites-available/transmission.conf 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 sudo a2ensite transmission.conf sudo service apache2 restart ===== Références ===== * Générateur de configuration SSL par Mozilla : https://ssl-config.mozilla.org/