我不明白(在 Debian 上)为什么我可以使用http://www.myserver.com:443/但不是直接与https://...
我正在使用 LetsEncrypt,我的所有证书都已生成并生效。这是我的 .../apache2/site-enabled/default.conf:
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ServerName myServer.com
ServerAlias www.myServer.com
Redirect permanent / https://www.myServer.com/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/MyServer.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/MyServer.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/MyServer.com/fullchain.pem