From 33754c6e0ba3093fae6b567170a1d24d67520a95 Mon Sep 17 00:00:00 2001 From: timerzz Date: Wed, 29 May 2024 18:08:20 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E4=BF=AE=E6=94=B9nginx=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 58 +++++++++++++++++++++++++++--------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/nginx.conf b/nginx.conf index f38a16c..ecebf18 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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 {