ft_chatons/core/caddy/config/sites/cloud.caddy
2026-03-03 14:17:25 +01:00

27 lines
579 B
Plaintext

cloud.chatons.duckdns.org {
root * /var/www/html
php_fastcgi nextcloud:9000
file_server
redir /.well-known/carddav /remote.php/dav/ 301
redir /.well-known/caldav /remote.php/dav/ 301
redir /.well-known/webfinger /index.php/.well-known/webfinger 301
redir /.well-known/nodeinfo /index.php/.well-known/nodeinfo 301
header {
Strict-Transport-Security "max-age=15552000;"
}
@forbidden {
path /build/*
path /tests/*
path /config/*
path /lib/*
path /3rdparty/*
path /templates/*
path /data/*
path /.htaccess
path /.user.ini
}
respond @forbidden 404
}