javascript - GET net::ERR_CONNECTION_TIMED_OUT無法打開自己的網(wǎng)站
問題描述
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:看看安全組和防火墻的端口設(shè)置
相關(guān)文章:
1. 關(guān)于docker下的nginx壓力測試2. docker - 各位電腦上有多少個(gè)容器???容器一多,自己都搞混了,咋辦呢?3. mac里的docker如何命令行開啟呢?4. 關(guān)docker hub上有些鏡像的tag被標(biāo)記““This image has vulnerabilities””5. nignx - docker內(nèi)nginx 80端口被占用6. docker容器呢SSH為什么連不通呢?7. dockerfile - 我用docker build的時(shí)候出現(xiàn)下邊問題 麻煩幫我看一下8. docker-compose 為何找不到配置文件?9. docker start -a dockername 老是卡住,什么情況?10. angular.js使用$resource服務(wù)把數(shù)據(jù)存入mongodb的問題。

網(wǎng)公網(wǎng)安備