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. spring-mvc - spring-session-redis HttpSessionListener失效2. html5和Flash對抗是什么情況?3. 運行python程序時出現“應用程序發生異常”的內存錯誤?4. javascript - QQ第三方登錄的問題5. node.js - mongodb查找子對象的名稱為某個值的對象的方法6. 測試自動化html元素選擇器元素ID或DataAttribute [關閉]7. 在mac下出現了兩個docker環境8. 利用IPMI遠程安裝centos報錯!9. javascript - 在 model里定義的 引用表模型時,model為undefined。10. 淺談Vue使用Cascader級聯選擇器數據回顯中的坑

網公網安備