Spaces:
Paused
Paused
Update nginx.conf
Browse files4 unmodified lines567889101112121314151 unmodified line17181920202122234 unmodified lineshttp { # 禁用 admin 接口和日志输出 server { listen 3000; listen 3001;
location /ai/v1/ { rewrite ^/ai/v1/(.*)$ /v1/$1 break; proxy_pass http://127.0.0.1:8080; 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:8080; 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