mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
a6b87cb42452897bcf4317aabf19fafa5bd3b071
Documents the WebSocket endpoint `/-/ws` added in https://github.com/go-gitea/gitea/pull/36965 and fixes the examples that could not serve it. 1. Nginx: adds the missing `proxy_http_version 1.1`, without it Nginx talks HTTP/1.0 upstream and Gitea rejects the handshake. 1. Apache HTTPD: `upgrade=websocket` on the existing `ProxyPass` rule, handled by `mod_proxy_http` since 2.4.48. 1. Nginx Proxy Manager: use the `Websockets Support` toggle, a duplicate `proxy_http_version` stops Nginx from starting. 1. IIS: the `WebSocket Protocol` Windows feature is required. --------- Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: mohammad rahimi <[email protected]> Reviewed-on: https://gitea.com/gitea/docs/pulls/463 Reviewed-by: Lunny Xiao <[email protected]> Reviewed-by: silverwind <[email protected]> Co-authored-by: mohammad rahimi <[email protected]>
Languages
TypeScript
42.4%
MDX
30.9%
Astro
8.1%
JavaScript
6.4%
Shell
6%
Other
6.2%