server { server_name websocket.***.bond; listen 443 ssl; ssl_certificate /root/https/fullchain.crt; ssl_certificate_key /root/https/private.pem; location / { proxy_pass http://127.0.0.1:9999/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } }
|