javascript - GET net::ERR_CONNECTION_TIMED_OUT无法打开自己的网站
问题描述
server { listen 80; server_name localhost; rewrite ^(.*) https://$host$1 permanent; } server {listen 443;server_name www.xxx.cn;root /data/www/blog/;ssl on;ssl_certificate /data/www/blog/ssl/1_www.xxx.cn_bundle.crt;ssl_certificate_key /data/www/blog/ssl/2_www.xxx.cn.key;ssl_session_timeout 5m;ssl_protocols TLSv1 TLSv1.1 TLSv1.2;ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;ssl_prefer_server_ciphers on;# Load configuration files for the default server block.include /etc/nginx/default.d/*.conf;location / { try_files $uri $uri/ /index.html;}location /api {proxy_pass http://118.89.60.117:3030;}error_page 404 /404.html; location = /40x.html {}error_page 500 502 503 504 /50x.html; location = /50x.html {} }
问题解答
回答1:看看安全组和防火墙的端口设置
相关文章:
1. javascript - 如图,百度首页,查看源代码为什么什么都没有?2. android - weex 项目createInstanceReferenceError: Vue is not defined3. javascript - 为什么clearInterVal不起作用呢?4. html - 关于CSS实现border的0.5px设置?5. PHPExcel表格导入数据库怎么导入6. android - 哪位大神知道java后台的api接口的对象传到前端后输入日期报错,是什么情况?求大神指点7. pdo 写入到数据库的内容为中文的时候写入乱码8. PHP类封装的插入数据,总是插入不成功,返回false;9. vue2.0+webpack 如何使用bootstrap?10. mac连接阿里云docker集群,已经卡了2天了,求问?
