From 95216b32c49ea0134e43c7fd84aad56d20c38a7c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 24 Aug 2021 14:31:12 +0100 Subject: [PATCH] Consolidate server blocks --- ansible/roles/gateway/files/nginx.conf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ansible/roles/gateway/files/nginx.conf b/ansible/roles/gateway/files/nginx.conf index d7fa954..e818c73 100644 --- a/ansible/roles/gateway/files/nginx.conf +++ b/ansible/roles/gateway/files/nginx.conf @@ -47,13 +47,8 @@ stream { server { listen 443; - proxy_pass {{ wireguard.clients.ingress.ip }}:8443; - proxy_protocol on; - } - - server { listen 8448; - proxy_protocol on; proxy_pass {{ wireguard.clients.ingress.ip }}:8443; + proxy_protocol on; } }