cloudreve / Cloudreve

🌩支持多家云存储的云盘系统 (Self-hosted file management and sharing system, supports multiple storage providers)

Home Page:https://cloudreve.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

希望新增部署自定义子路径,方便nginx做子路径反代 Nginx with Subpath (example.org/cloudreve)

KWMaster opened this issue · comments

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
nginx要反代很多服务,如果只把域名根路径“/”全给cloudreve服务,其他服务子路径比如example.org/jellyfin在清空网站缓存的前提下,直接访问example.org/jellyfin是可以正常访问的,但是一旦同时打开根路径example.org/的cloudreve服务,之后所有路径都会全部导向cloudreve服务
When configuring nginx to reverse proxy multiple services, if you only pass the root path "/" to the cloudreve service and leave other service paths like example.org/jellyfin untouched, accessing example.org/jellyfin directly should work fine after clearing the website cache. However, once you also open the root path example.org/ for the cloudreve service, all subsequent paths will be redirected to the cloudreve service.

Describe the solution you'd like
A clear and concise description of what you want to happen.
希望能增加cloudreve部署的子路径自定义设置,支持本机压缩包部署、docker部署的子路径配置
I suggest adding customizable sub-path settings for deploying Cloudreve, supporting sub-path configurations for both local compressed package deployment and Docker deployment.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
同时希望在使用文档中增加nginx子路径反代配置示例
I also recommend including examples of nginx sub-path reverse proxy configurations in the usage documentation.

Additional context
Add any other context or screenshots about the feature request here.
类似jellyfin的子路径官方使用文档示例
Similar to the official documentation examples for sub-path configuration of services like Jellyfin.
image

commented

强烈需要这个功能,我折腾了好久没有弄成