fix(ci): fix the issue where the port number is missing during image (#602)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user