Nginx + ssl没有响应

我目前正在为leapfunderbuild立一个SSL服务器。

我创build了一个服务器(在AWS上的Ubuntu 14.04),指示notes.civocracy.org。 我在GoDaddy上购买了一个SSL证书,启动并configuration了一个Nginx服务器。 但是每当我去https://notes.civocracy.org/ ,我都没有回应。

我不明白为什么,因为Nginx正在运行和侦听,所以没有我知道的防火墙。

我的nginxconfiguration:

server { listen 443 ssl; server_name notes.civocracy.org; root html; index index.html index.htm; ssl_certificate /etc/nginx/ssl/bundle.crt; ssl_certificate_key /etc/nginx/ssl/civocracy.key; ssl_session_timeout 5m; ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES"; ssl_prefer_server_ciphers on; location / { try_files $uri $uri/ =404; } } 

我在服务器上生成civocracy.key。 bundle.crt是GoDaddy给我的两个.crt文件的合并。 现在没有错误信息,所以从现在开始我不知道该怎么看。

有些人看起来像他们的路由器没有正确转发到443端口,但我在一个EC2实例,所以我不认为它适用

您的DNS设置不正确。 看来您正在使用某种Gandi服务(也许是这样 ?)在一个不可见的iframe中显示您的EC2服务器。

notes.civocracy.org 指向EC2服务器。 它指向webredir.vip.gandi.net ,这似乎是某种redirect服务。 他们正在服务的页面的HTML是:

 <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>notes.civocracy.org</title> </head> <frameset> <frame src="http://ec2-52-7-151-160.compute-1.amazonaws.com" name="redir"> <noframes> <p>Original location: <a href="http://ec2-52-7-151-160.compute-1.amazonaws.com">http://ec2-52-7-151-160.compute-1.amazonaws.com</a> </p> </noframes> </frameset> </html> 

您的Alogging应该指向EC2实例52.7.151.160 。 甘地的redirect服务没有HTTPS设置,这就是为什么它没有响应。 https://ec2-52-7-151-160.compute-1.amazonaws.com/提供您的SSL证书和nginxconfiguration。