feat 修改nginx配置
All checks were successful
Build image / build (push) Successful in 8m8s

This commit is contained in:
timerzz 2024-05-29 18:08:20 +08:00
parent e0d2f9b3ad
commit 33754c6e0b

View File

@ -9,35 +9,35 @@ server {
index index.html index.htm;
}
; 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://pusher:8080;
; }
;
; location /api/v1/push {
; resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS
; proxy_pass http://pusher:8080;
; }
;
; location /api/v1/watchers {
; resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS
; proxy_pass http://ht-watcher:8080;
; }
;
; location /api/v1/spider{
; resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS
; proxy_pass http://product-spider:8080;
; }
;
; location /api/v1/products {
; resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS
; proxy_pass http://product-backend:8080;
; }
# 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://pusher:8080;
# }
#
# location /api/v1/push {
# resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS
# proxy_pass http://pusher:8080;
# }
#
# location /api/v1/watchers {
# resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS
# proxy_pass http://ht-watcher:8080;
# }
#
# location /api/v1/spider{
# resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS
# proxy_pass http://product-spider:8080;
# }
#
# location /api/v1/products {
# resolver 10.43.0.10 valid=10s; # 6.6.6.6 为自建DNS
# proxy_pass http://product-backend:8080;
# }
error_page 500 502 503 504 /50x.html;
location = /50x.html {