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. java - jdbc如何返回自动定义的bean3. python - 请问这两个地方是为什么呢?4. 请教一个mysql去重取最新记录5. 大家都用什么工具管理mysql数据库?6. Python处理Dict生成json7. mysql的循环语句问题8. python - 为什么match匹配出来的结果是<_sre.SRE_Match object; span=(0, 54), match=’’>9. mysql优化 - mysql 一张表如果不能确保字段列长度一致,是不是就不需要用到char。10. mysql updtae追加数据sql语句
