Hi everyone,
I followed the instructions on the wiki to use a reverse proxy with apache2 to allow the Webinterface to be accessed via SSL. Unfortunately I've ran into a problem. My subdomain bot.mydomain.com can be accessed via https I keep getting an internal server error.
The following error pops up in my apache error.log. Has anybody seen that before?
Apache sinusbot.conf:
Tanks in advance.
I followed the instructions on the wiki to use a reverse proxy with apache2 to allow the Webinterface to be accessed via SSL. Unfortunately I've ran into a problem. My subdomain bot.mydomain.com can be accessed via https I keep getting an internal server error.
The following error pops up in my apache error.log. Has anybody seen that before?
Code:
[Wed Jul 18 19:34:40.633205 2018] [ssl:error] [pid 531:tid 139691923379968] [remote 127.0.0.1:8087] AH01961: SSL Proxy requested for bot.lukashoyer.com:443 but not enabled [Hint: SSLProxyEngine]
[Wed Jul 18 19:34:40.633328 2018] [proxy:error] [pid 531:tid 139691923379968] AH00961: HTTPS: failed to enable ssl support for 127.0.0.1:8087 (localhost)
Apache sinusbot.conf:
Code:
<VirtualHost *:80>
ServerName bot.mydomain.com
ServerAlias www.bot.mydomain.com
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 bot.mydomain.com
ServerAlias www.bot.mydomain.com
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/mydomain.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mydomain.com/privkey.pem
ProxyPass / http://localhost:8087/
ProxyPassReverse / http://localhost:8087/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
Tanks in advance.