fix: invalid location
All checks were successful
Build Docker / Build Docker (push) Successful in 55s

This commit is contained in:
Nathan Woodburn 2023-12-15 15:05:46 +11:00
parent 1042d4a4f5
commit 8ab5352a2f
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -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;