Compare commits
2 Commits
4fd090fe2f
...
07a3b555b7
Author | SHA1 | Date | |
---|---|---|---|
07a3b555b7 | |||
0949513b47 |
14
nginx.conf
14
nginx.conf
@ -9,9 +9,19 @@ 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;
|
||||
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;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
|
Loading…
x
Reference in New Issue
Block a user