diff --git a/nginx.conf b/nginx.conf index 4b496a5..af99248 100644 --- a/nginx.conf +++ b/nginx.conf @@ -9,7 +9,17 @@ server { index index.html index.htm; } - location /api/v1 { + location /api/v1/proxies { + resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS + proxy_pass http://ht-watcher:8080; + } + + location /api/v1/pushers { + resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS + proxy_pass http://ht-watcher:8080; + } + + location /api/v1/watchers { resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS proxy_pass http://ht-watcher:8080; }