Ubuntu Apache https 超时状态。虽然 http 工作正常

Ubuntu Apache https 超时状态。虽然 http 工作正常

使用 let's encrypt 为 apache 创建了 ssl 证书。每次都显示请求超时。

 nc -zvw 1 studytact.ml 443
 nc: connect to studytact.ml port 443 (tcp) timed out: Operation now in progress

这是我的 SSL 配置

000-默认-le-ssl.conf

<IfModule mod_ssl.c>
<VirtualHost *:443>
    ServerName studytact.ml

    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/video-poc/public
    PassengerAppRoot /var/www/video-poc

    PassengerAppType node
    PassengerStartupFile bin/www.js

    # Relax Apache security settings
    <Directory /var/www/video-poc/public>
        Allow from all
        #Options -MultiViews
    # Uncomment this if you're on Apache >= 2.4:
    Require all granted
    </Directory>

    CustomLog ${APACHE_LOG_DIR}/access.log combined
    ErrorLog /var/log/apache2/ssl-error.log

    SSLCertificateFile /etc/letsencrypt/live/studytact.ml/fullchain.pem
    SSLCertificateKeyFile  /etc/letsencrypt/live/studytact.ml/privkey.pem
    Include /etc/letsencrypt/options-ssl-apache.conf
    </VirtualHost>
    </IfModule>

我很困惑这里出了什么问题

相关内容