From cc06689accdee65758b8891df0a12368e8e17395 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Fri, 30 Jul 2021 18:45:54 +0200 Subject: [PATCH] Updated nginx configuration (markdown) --- nginx-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx-configuration.md b/nginx-configuration.md index f42b819..76a35bf 100644 --- a/nginx-configuration.md +++ b/nginx-configuration.md @@ -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: