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

时间:2019-03-04 04:24:33

标签: apache ubuntu amazon-ec2 openssl lets-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-default-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>

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

0 个答案:

没有答案