我的问题是,如果我重新启动 NGINX,HTTP 工作正常,但 HTTPS 不可用。我收到连接超时。我检查了我是否可以在本地连接并检查了证书。这也很好。我没有防火墙,但似乎端口或曾经被阻止的东西。请帮忙...
server {
server_name help.XXXX.de;
listen 80;
listen 443 default ssl;
ssl on;
ssl_certificate /etc/ssl/localcerts/0001_MAILcert.pem;
ssl_certificate_key /etc/ssl/localcerts/0001_MAILcert.key;
ssl_ciphers SSLv3+HIGH:RC4+MEDIUM:!aNULL:!eNULL:!3DES:!MD5:@STRENGTH;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1;
access_log /var/www/XXXX.de/help.XXXX.de/logs/access.help.log main;
index index.html index.htm index.php;
root /var/www/XXXX.de/help.XXXX.de/htdocs;
location / {
try_files $uri $uri/ /index.php;
}
location ~ \.php$ {
try_files $uri @rewrite;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
我正在使用带有 NGINX 1.2.6 和 PHP-FPM 的 Debian