CodePudding user response:
Supplementary information: 2019/07/16 09:49:31 [error] # 79163:79163 * 22339993 no live upstreams while connecting to upstream, client: 192.168.16.6, server: s.gezlife.net, the request: "GET/socket. IO/? EIO=3 & amp; Transport=polling& T=1563241682140-40 HTTP/1.1 ", upstream: "http://localhost/socket.io/? EIO=3 & amp; Transport=polling& T=1563241682140-40, "host:" s.gezlife.net ", the referrer: "http://leju.maxiaojun.gezlife.com/Factoryadmin/product/upimg/edit/1/pid/231266"CodePudding user response:
Added configuration: server {Listen 443 SSL;
Server_name s.gezlife.com;
Server_tokens off;
Ssl_certificate keys/gezlife.com.pem;
Ssl_certificate_key keys/gezlife.com.key;
Access_log/Data/logs/nginx/s.gezlife.com.access.log combinedio;
Error_log/Data/logs/nginx/s.gezlife.com.error.log;
Ssl_ciphers ECDHE - ECDSA - AES256 - GCM - SHA384: ECDHE - RSA - AES256 - GCM - SHA384: ECDHE - ECDSA - CHACHA20 - POLY1305: ECDHE - RSA - CHACHA20 - POLY1305: ECDHE - ECDSA - AES256 - SHA384: ECDHE - RSA - AES256 - SHA384: ECDHE - ECDSA - either AES128 - GCM - SHA256: ECDHE - RSA - either AES128 - GCM - SHA256: ECDHE - ECDSA - either AES128 - SHA256: ECDHE - RSA - either AES128 - SHA256: ECDHE - ECDSA - RC4 - SHA:! ECDHE - RSA - RC4 - SHA: ECDH - ECDSA - RC4 - SHA: ECDH - RSA - RC4 - SHA: ECDHE - RSA - AES256 - SHA:! RC4 - SHA: HIGH:! ANULL:! ENULL:! LOW:! 3 des:! MD5:! EXP:! CBC:! EDH:! KEDH:! PSK:! SRP:! KECDH;
Ssl_prefer_server_ciphers on;
Ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
CodePudding user response:
Added configuration: # # ssl_session_cache Shared: SSL: 100 m;Ssl_session_timeout 10 m;
Proxy_http_version 1.1;
Proxy_redirect off;
The location/{
Proxy_pass http://localhost:2120;
Proxy_set_header Host $Host;
Proxy_set_header X - Forwarded - For $proxy_add_x_forwarded_for;
# proxy_set_header Origin '*';
Proxy_http_version 1.1;
Proxy_set_header Upgrade $http_upgrade;
Proxy_set_header Connection "upgrade".
Proxy_read_timeout 3000 s;
}
}
CodePudding user response:
Could be the project deployment, you try the local IP + port access