Answers for "websocket wss nginx"

0

websocket wss nginx

location /your-websocket-location/ {
    proxy_pass ​http://127.0.0.1:1337;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
}
Posted by: Guest on September-30-2021

Browse Popular Code Answers by Language