From 06bdae380b7336032e16b821a86b5db04794cb62 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Fri, 21 Oct 2022 11:45:12 +0200 Subject: [PATCH] Revert proxy-protocol-matching --- .../templates/nginx/passthrough.conf.template | 9 --------- 1 file changed, 9 deletions(-) diff --git a/netmaker_server/templates/nginx/passthrough.conf.template b/netmaker_server/templates/nginx/passthrough.conf.template index 9abbb70..b2a5e1d 100644 --- a/netmaker_server/templates/nginx/passthrough.conf.template +++ b/netmaker_server/templates/nginx/passthrough.conf.template @@ -14,21 +14,12 @@ stream{ default 127.0.0.1:1; } - # Enable Proxy-Protocol for local calls - map $target_host $proxy_protocol_enabled { - hostnames; - - 127.0.0.1* on; - default off; - } - server { resolver 127.0.0.11; # Explicitly set docker-resolver listen 443; ssl_preread on; - proxy_protocol $proxy_protocol_enabled; proxy_pass $name; } }