fix: invalid location
All checks were successful
Build Docker / Build Docker (push) Successful in 55s
All checks were successful
Build Docker / Build Docker (push) Successful in 55s
This commit is contained in:
parent
1042d4a4f5
commit
8ab5352a2f
@ -38,10 +38,11 @@ server {
|
|||||||
set $upstream_host hnsns.net;
|
set $upstream_host hnsns.net;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Use the named location without the @ prefix
|
||||||
proxy_pass https://dynamic_upstream;
|
proxy_pass https://dynamic_upstream;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @dynamic_upstream {
|
location dynamic_upstream {
|
||||||
# Use a named location to set proxy_pass dynamically
|
# Use a named location to set proxy_pass dynamically
|
||||||
proxy_pass https://$upstream_host;
|
proxy_pass https://$upstream_host;
|
||||||
proxy_ssl_verify off;
|
proxy_ssl_verify off;
|
||||||
|
Loading…
Reference in New Issue
Block a user