diff --git a/scripts/nginx.conf b/scripts/nginx.conf index caf2d4f..fba4a25 100644 --- a/scripts/nginx.conf +++ b/scripts/nginx.conf @@ -34,7 +34,7 @@ http { # 代理 API 请求到后端容器 location /admin-api/ { - proxy_pass http://127.0.0.1:48080; + proxy_pass http://alert-backend:48080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;