惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
宝玉的分享
宝玉的分享
量子位
N
Netflix TechBlog - Medium
M
MIT News - Artificial intelligence
GbyAI
GbyAI
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
Y
Y Combinator Blog
L
LangChain Blog
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
U
Unit 42
Martin Fowler
Martin Fowler
aimingoo的专栏
aimingoo的专栏
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客

puzzle9 blog

parser video tencent - puzzle9 blog wstunnel - puzzle9 blog rclone - puzzle9 blog debian 转换为 pve - puzzle9 blog nfs - puzzle9 blog caddy - puzzle9 blog webhookd 发布 - puzzle9 blog win 系统部署 by WinRM - puzzle9 blog hl7 初探 - puzzle9 blog realm 端口转发 - puzzle9 blog airflow - puzzle9 blog mysql 迁移到 mssql - puzzle9 blog 租房啊 - puzzle9 blog cr660x 路由器研究 - puzzle9 blog hs8145v 光猫研究 - puzzle9 blog dae 跨墙 - puzzle9 blog ZeroTier 打洞 🕊 - puzzle9 blog rathole 穿透 - puzzle9 blog WireGuard 组网 - puzzle9 blog
webdav - puzzle9 blog
2026-04-04 · via puzzle9 blog

webdav

发布于:2026-04-04 14:46:56 访问:

要说什么通用 那就是先有了良好的设计

安装

alipine

1
2
wget https://github.com/hacdias/webdav/releases/download/v5.11.4/linux-amd64-webdav.tar.gz
tar -xvf linux-amd64-webdav.tar.gz

/etc/init.d/webdav

1
2
3
4
5
6
7
8
9
10
11
#!/sbin/openrc-run

name="webdav"
command="/data/webdav"
command_args="-c /data/webdav.yaml"
command_background="yes"
pidfile="/run/${RC_SVCNAME}.pid"

depend() {
need net
}
1
2
3
chmod +x /etc/init.d/webdav
rc-service webdav start
rc-update add webdav

配置

/etc/webdav.yaml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
address: 127.0.0.1
port: 6065
tls: false
prefix: /dav
debug: false
noSniff: false
behindProxy: true
directory: .
permissions: R
rules: []
rulesBehavior: overwrite
log:
format: console
colors: true
outputs:
- stderr

cors:
enabled: false

users:
- username: username
password: password
permissions: CRUD
directory: /hdd/path