Browsing this Thread:   1 Anonymous Users






nginx websocket
#1
Not too shy to talk
Not too shy to talk


See User information


location /proxy-m/websocket {
proxy_pass http://127.0.0.1:9503/websocket;
proxy_http_version 1.1;
proxy_read_timeout 36000;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Wsproxy "proxy";
proxy_set_header Host $http_host;
proxy_set_header Remote-addr $remote_addr;
}

location ^~ /proxy-m/ {
proxy_pass http://127.0.0.1:9503/;
proxy_set_header Wsproxy "proxy";
proxy_set_header Host $http_host;
proxy_set_header Remote-addr $remote_addr;
}



Posted on: 8/18 1:53
Top








Themes

(2 themes)
Login
Username:

Password:


Lost Password?
Register now!
Categories