Ive searched through several posts but haven't really found what im looking for and hopefully someone could help me out.
Background:
Ubuntu 18.04 server with the following applications
Sabnzbd
Sickrage
Transmission
Webmin
Apache2
Certbot
installed and running
Using Apache2 virtual hosts to create application specific subdomains. i.e. transmission.xxxx. c o m, sickrage.xxxx. c o m, sabzndb.xxxx. c o m
SSL certs for each subdomain are installed and valid via certbot with http to https redirect
All applications are living and working happily in the environment except for sabnzbd (Service unavailable). And now i cant event sabnzbd to work on the old address to work xxxx. c o m:8080 (ssl error)
Below is my current config for the Apache2 virtual host
sabnzb.xxxx. c o m-le-ssl.conf
Code: Select all
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin noreply@xxxx. c o m
ServerName sabnzbd.xxxx. c o m
ProxyPass / h t t p ://localhost:8080/sabnzbd
ProxyPassReverse / h t t p ://localhost:8080/sabnzbd
ProxyPreserveHost On
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/sabnzbd.xxxx. c o m/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/sabnzbd.xxxx. c o m/privkey.pem
LogLevel emerg
</VirtualHost>
</IfModule>
Code: Select all
<VirtualHost *:80>
ServerAdmin noreply@xxxx. c o m
ServerName sabnzbd.xxxx. c o m
ProxyPass / h t t p://localhost:8080/sabnzbd
ProxyPassReverse / h t t p://localhost:8080/sabnzbd
RewriteEngine on
RewriteCond %{SERVER_NAME} =xxxx. c o m [OR]
RewriteCond %{SERVER_NAME} =sabnzbd.xxxx. c o m
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
Anyone have any input or advice on how to get, ideally, sabznbd behind the ssl wall while not breaking the other services?