再修改一下nginx
Change-Id: I6218e04a79f8b59642849ff216863fef8c227c1c
diff --git a/nginx.conf b/nginx.conf
index 2d8c843..91da21a 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -1,5 +1,5 @@
server {
- listen 3004;
+ listen 80;
server_name _; # 允许所有域名访问
@@ -12,7 +12,7 @@
# 反向代理API请求到后端
location /api/ {
- proxy_pass http://team4.10813352.xyz:5004; # 代理路径与后端API前缀匹配
+ proxy_pass http://thunderhub-backend:5004; # 代理路径与后端API前缀匹配
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;