mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
文档问题: 跨域 #184
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhangshuo687686 on GitHub (Jul 16, 2025).
问题描述
两台服务器A、B,服务器A部署了前端静态页面,服务器B部署了dify,服务器A通过公网ip访问服务器B的dify文件上传接口/v1/files/upload 页面提示跨域,查看.env 配置文件中跨域相关的参数都是允许跨域。docker-compose启动dify时有nginx,是需要在nginx中配置跨域吗,但是也配了,似乎还是不行
页面链接
https://github.com/langgenius/dify-docs/blob/main/zh-hans/getting-started/install-self-hosted/faq.mdx
建议修改