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:看看安全組和防火墻的端口設置
相關(guān)文章:
1. html5 - vue怎么實現(xiàn)像京東天貓banner圖片圖片點擊放大,并可滑動到下一張2. java - 讀寫鎖中 寫鎖的降級問題3. java-ee - java導出excel,修改寫死界面的內(nèi)容4. javascript - 閉包在實際開發(fā)中有什么用?5. html - CSS3圖片滑動效果6. javascript - vue中input的blur影響了下拉的點擊事件如何解決7. node.js - 前端測試(UI Recorder)webdriver啟動firefox報錯8. windows10 - mysql時區(qū)問題9. java-ee - JAVA的注解@Api和@ApiOperation的作用是什么,怎么跳轉(zhuǎn)頁面的10. python - pip如何選擇裝到/usr/lib還是/usr/lib64
