DasNerdwork
Member
Latest version of Sinusbot
On a Debian 8 Server
Website encrypted with LetsEncrypt's free SSL through the certbot
Before I upgraded http://dasnerdwork.net:8087 worked fine to enter the sinusbot webinterface. Afterwards the same URL redirects me to https://dasnerdwork.net:8087 as it should but I can't access the webinterface there anymore.
Already added a sinusbot.conf into /etc/apache2/sites-available with a symlink to sites-enabled
Aswell as a updated config.ini like this:
ListenHost = "127.0.0.1"
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
I read through several other threads and tried every possibility there, even tried it with the ReverseProxy but neither of that worked for me. Hope someone can help me with this!
On a Debian 8 Server
Website encrypted with LetsEncrypt's free SSL through the certbot
Before I upgraded http://dasnerdwork.net:8087 worked fine to enter the sinusbot webinterface. Afterwards the same URL redirects me to https://dasnerdwork.net:8087 as it should but I can't access the webinterface there anymore.
Already added a sinusbot.conf into /etc/apache2/sites-available with a symlink to sites-enabled
Code:
<VirtualHost *:80>
ServerName dasnerdwork.net
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</VirtualHost>
<VirtualHost *:443>
ServerName dasnerdwork.net
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/dasnerdwork.net/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/dasnerdwork.net/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/dasnerdwork.net/fullchain.pem
ProxyPass / http://127.0.0.1:8087/
ProxyPassReverse / http://127.0.0.1:8087/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Aswell as a updated config.ini like this:
ListenHost = "127.0.0.1"
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
I read through several other threads and tried every possibility there, even tried it with the ReverseProxy but neither of that worked for me. Hope someone can help me with this!