Spaces:
Paused
Paused
Update nginx.conf
Browse files4 unmodified lines567891011121314151 unmodified line171819202122234 unmodified lineshttp {# 禁用 admin 接口和日志输出server {listen 3000;location /ai/v1/ {rewrite ^/ai/v1/(.*)$ /v1/$1 break;proxy_pass http://127.0.0.1:8080;proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;1 unmodified line}location / {proxy_pass http://127.0.0.1:8080;proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;4 unmodified lines567891011121314151 unmodified line171819202122234 unmodified lineshttp {# 禁用 admin 接口和日志输出server {listen 3001;location /ai/v1/ {rewrite ^/ai/v1/(.*)$ /v1/$1 break;proxy_pass http://127.0.0.1:3000;proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;1 unmodified line}location / {proxy_pass http://127.0.0.1:3000;proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
nginx.conf+3-3