fangruigithub

  • Sep 11, 2021
  • Joined Sep 11, 2021
  • conf配置内容:
    /********

    #gzip  on;
    upstream nacosCluster{
    	server 127.0.0.1:8848;
    	server 127.0.0.1:8849;
    	server 127.0.0.1:8850;
    }
    
    server {
        listen       81;
        server_name  localhost;
    
        #charset koi8-r;
    
        #access_log  logs/host.access.log  main;
    
        location / {
    		proxy_pass	http://nacosCluster;
    		#proxy_set_head Host "127.0.0.1";
            root	html;
            index  index.html index.htm;
        }

    ****************************/
    总是报如下错误:
    2021/09/11 16:33:08 [error] 5781#0: *5 SSL_do_handshake() failed (SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: "GET /index.html HTTP/1.1", upstream: "https://127.0.0.1:8850/index.html", host: "127.0.0.1:81"
    **************有解决方法吗?**************solution????????????