fix(ci): fix the issue where the port number is missing during image (#602)

This commit is contained in:
Ryo
2025-08-06 12:28:03 +08:00
committed by GitHub
parent 28cefbd25e
commit f693da17ef

View File

@@ -13,10 +13,10 @@ server {
} }
# API proxy # API proxy
location /api/ { location ~ ^/(api|v[1-3])/ {
proxy_pass http://coze-server:8888; proxy_pass http://coze-server:8888;
proxy_set_header Host $host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;