I have set up a Seafile Docker server with Caddy and would like to use WebDAV. Below is my current Caddy configuration:
cloud.p37.nexus {
encode gzip
tls {
protocols tls1.3
}
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
X-XSS-Protection "1; mode=block"
Referrer-Policy "no-referrer-when-downgrade"
-Server
}
reverse_proxy 10.10.10.4:80
}
cloud.p37.nexus/seafhttp* {
encode gzip
tls {
protocols tls1.3
}
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
X-XSS-Protection "1; mode=block"
Referrer-Policy "no-referrer-when-downgrade"
-Server
}
uri strip_prefix seafhttp
reverse_proxy 10.10.10.4:8082
}
cloud.p37.nexus/seafdav* {
encode gzip
tls {
protocols tls1.3
}
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
X-XSS-Protection "1; mode=block"
Referrer-Policy "no-referrer-when-downgrade"
-Server
}
uri strip_prefix seafdav
reverse_proxy 10.10.10.4:8899
}
Additionally, I am using the following Docker configuration:
services:
db:
image: mariadb:latest
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=7TTFQf6zHPREMRKf6dhJKyxLE
- MYSQL_LOG_CONSOLE=true
volumes:
- ./db:/var/lib/mysql
networks:
default:
ipv4_address: 10.10.10.2
memcached:
image: memcached:latest
container_name: seafile-memcached
entrypoint: memcached -m 256
networks:
default:
ipv4_address: 10.10.10.3
seafile:
image: seafileltd/seafile-mc:11.0-latest
container_name: seafile
volumes:
- ./data:/shared
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=7TTFQf6zHPREMRKf6dhJKyxLE
- TIME_ZONE=Europe/Berlin
- SEAFILE_ADMIN_EMAIL=
- SEAFILE_ADMIN_PASSWORD=
- SEAFILE_SERVER_LETSENCRYPT=false
- SEAFILE_SERVER_HOSTNAME=cloud.p37.nexus
depends_on:
- db
- memcached
networks:
default:
ipv4_address: 10.10.10.4
networks:
default:
name: seafile_net
external: true
My seafdav.conf configuration is as follows:
[WEBDAV]
enabled = true
port = 8899
share_name = /seafdav
show_repo_id = true
The issue I am encountering is that when I navigate to https://cloud.p37.nexus/seafdav, I am prompted for login credentials, which are accepted successfully. However, after logging in, I only receive a 404 error, regardless of which library or folder within the library I attempt to access.
Could you please advise on what might be causing this issue or suggest a solution?
Best regards,
Malte