From 8ab5352a2f34e3323c26f98d2b8b98c0dda10fd9 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Fri, 15 Dec 2023 15:05:46 +1100 Subject: [PATCH] fix: invalid location --- nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 33f7bb9..52a2d2a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -38,10 +38,11 @@ server { set $upstream_host hnsns.net; } + # Use the named location without the @ prefix proxy_pass https://dynamic_upstream; } - location @dynamic_upstream { + location dynamic_upstream { # Use a named location to set proxy_pass dynamically proxy_pass https://$upstream_host; proxy_ssl_verify off;