fix: 修改后端容器名(微服务)

This commit is contained in:
lzh
2026-01-14 14:01:40 +08:00
parent 647dd1ac7e
commit caf6927fbf

View File

@@ -22,7 +22,7 @@ server {
location /admin-api {
# 后端服务地址
# 方案1使用容器名推荐自动 DNS 解析)- 如果后端监听 0.0.0.0
proxy_pass http://aiot-server:48080/admin-api;
proxy_pass http://aiot-gateway:48080/admin-api;
# 方案2直接使用后端容器 IP当前后端 IP: 172.22.0.3
# 如果方案1不行取消注释下面这行注释掉上面那行