post static file :
server {
......
error_page 405 =200 $uri;
}
proxy websocket :
location /ws {
......
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
post static file :
server {
......
error_page 405 =200 $uri;
}
proxy websocket :
location /ws {
......
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}