upstream websocket {
server 10.1.2.3:8887;
keepalive 8;
}
server {
listen 443;
...
location /app_ws {
proxy_pass http://websocket;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.
try_files
зачем-то. Зачем? Что если оставить там какой-нибудь return 200, а в /front
сделать проксирование на бэк?