Problem: By default NGINX closes the connection if no data is sent for 60 seconds.
Doc: This timeout value can be changed wth proxy_read_timeout; alternatively, a WebSocket server should send ping messages periodically to reset the timer, but
The problem is partially solved by setting proxy_read_timeout 43200 (12 hours), but
1. Server don't send ping messages
2. After a connection failure (trouble with inet connection, restart nginx etc), it is no longer restored until client reload
Doc: This timeout value can be changed wth proxy_read_timeout; alternatively, a WebSocket server should send ping messages periodically to reset the timer, but
The problem is partially solved by setting proxy_read_timeout 43200 (12 hours), but
1. Server don't send ping messages
2. After a connection failure (trouble with inet connection, restart nginx etc), it is no longer restored until client reload
Comment