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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

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;