Hallo, wie muss in apache2 meinen Virtual Host konfigurieren, damit ich Webmin aufrufen kann? Normal ruft man webmin mit <ip>:10000 auf, ich habe bisher das so gemacht:
<VirtualHost *:80>
ServerName domain.de
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:10000/
ProxyPassReverse / http://127.0.0.1:10000/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Da ging alles, jetzt mit port 443 für SSL kommt Error 500
ich habe da das hier eingerichtet:
<VirtualHost *:443>
ServerName domain.de
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / https://127.0.0.1:10000/
ProxyPassReverse / https://127.0.0.1:10000/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLCertificateFile /etc/letsencrypt/live/domain.de/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/domain.de/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
Da kommt wie gesagt der Error 500
Wenn ich https://domain.de:10000 eingebe geht es, doch dann ist das SSL Zertifikat nicht mehr gültig
Kann jemand helfen?
LG