Updated nginx configuration (markdown)

Juan Font
2021-07-30 18:45:54 +02:00
parent 687d03da59
commit cc06689acc
+1 -1
@@ -1,6 +1,6 @@
The original Tailscale protocol relies on HTTP Long-Polling¹ for communication with the control server. Long story short, the client opens a HTTP 1.1 connection to the server and maintains it open, to receive keep-alives + updates in the tailnet/namespace.
nginx must be aware of this situation if you want to use it as a reverse proxy in front of Headscale. Otherwise it will keep closing the connections from the clients, or even worse not closing them when it is needed.
nginx must be aware of this situation if you want to use it as a reverse proxy in front of Headscale. Otherwise it will keep closing the connections from the clients, or even worse - not closing them when it must.
Please find below a reference configuration for a standard `proxy_pass` config: