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;
}