9001 / 9001/copyparty

Domain-specific configurations

未關閉
#843 2 則留言 0 個 reaction 已指派 1 人 已被 @9001 認領 在 GitHub 檢視
enhancement
主要語言
Python
星號
46.6k
分支
1.9k
平均合併
10 天 16 小時
30 天內合併 PR
5

描述

**Describe the idea / solution you'd like**
it'd be nice to be able to have domain-specific configs, like you can have certain shares valid for one domain and other shares valid for another.

as an example, say i have `sub1.example.com` and `sub2.example.com` and i want `sub1` to only have access to the `sub1` share, something like:
```
[domain sub1.example.com]
[/sub1]
/srv/http/sub1

[domain sub2.example.com]
[/sub2]
/srv/http/sub2
```

afaik this isn't a thing you can do. i've messed around with rewrites and got something mostly functional but it's still very janky (random 404s) and requires much, much domain-specific config and only can work with one share per domain

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。