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

This commit is contained in:
2023-12-15 15:05:46 +11:00
parent 1042d4a4f5
commit 8ab5352a2f

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;