From 3b6b94527d0d8b4b34ffdcb84a3db10371399fde Mon Sep 17 00:00:00 2001 From: Tai Date: Tue, 4 Aug 2020 11:21:38 -0700 Subject: [PATCH] Update README.md --- seafile/README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/seafile/README.md b/seafile/README.md index b44ea7f..9325b87 100644 --- a/seafile/README.md +++ b/seafile/README.md @@ -36,4 +36,22 @@ Change SERVICE_URL from http to https and remove the :8000 at the end. Example Below: ``` SERVICE_URL https://subdomain.example.com -``` \ No newline at end of file +``` + +# Optional: Setting Up WebDav + +## Caddyfile +``` +webdav.example.com { + reverse_proxy seafile:8080 +} +``` +Here I assigned a new subdomain webdav and point it to port 8080 which is the defualt on seafdav.conf + +## seafdav.conf +``` +nano /home/~/docker/seafile/seafile-data/seafile/conf/seafdav.conf +``` +Set ```enabled=true``` +Set ```share_name = /``` +