Files
ylst-pc/docker/default.conf
du.meimei 5f210b767c feat: 添加伊利GPT跳转功能
- 在 nginx 配置中添加 /yiligpt路径,跳转到伊利GPT页面
- 在 Dockerfile 中使用自定义的 default.conf 文件- 在 vue.config.js 中添加 /yiligpt 代理配置,指向 AI 助手 URL
2025-05-27 16:05:46 +08:00

27 lines
642 B
Plaintext

server {
listen 80 default_server;
server_name _;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
# 跳转到伊利GPT
location /yiligpt {
return 302 https://yiligpt.x.digitalyili.com/aiagent/assistant/78907182-cc42-4072-abae-86ef67c1ecd3/share;
}
location / {
root /var/www/html;
index index.html index.htm;
try_files $uri $uri/ //index.html;
}
# redirect server error pages to the static page /50x.html
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/html;
}
}