feat 修改/api/v1/对应端口
All checks were successful
Build image / build (push) Successful in 22s

This commit is contained in:
timerzz 2024-05-12 21:01:17 +08:00
parent 0949513b47
commit 07a3b555b7

View File

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