Open sjanssen2 opened 9 months ago
https://github.com/qiita-spots/qiita/blob/57d1b146729223da9daa286a1cc75db6f2923746/qiita_pet/nginx_example.conf#L59-L66 The provided example nginx configuration seems to not forward websocket HTTP traffic.
W 240215 18:58:08 web:2161] 400 GET /study/list/socket/ (127.0.0.1) 4.57ms [D 240215 18:58:08 websocket:164] Can "Upgrade" only to "WebSocket".
Should we add a working configuration to this example, such that user do not have to solve this issue by themselves? Btw. I am not sure what the matching configuration would look like, can we follow: https://www.serverlab.ca/tutorials/linux/web-servers-linux/how-to-configure-nginx-for-websockets/ ?
Fixed here: https://github.com/qiita-spots/qiita/pull/3362
https://github.com/qiita-spots/qiita/blob/57d1b146729223da9daa286a1cc75db6f2923746/qiita_pet/nginx_example.conf#L59-L66 The provided example nginx configuration seems to not forward websocket HTTP traffic.
Should we add a working configuration to this example, such that user do not have to solve this issue by themselves? Btw. I am not sure what the matching configuration would look like, can we follow: https://www.serverlab.ca/tutorials/linux/web-servers-linux/how-to-configure-nginx-for-websockets/ ?