diff --git a/Caddyfile b/Caddyfile index 4a76f48..bfba6fe 100644 --- a/Caddyfile +++ b/Caddyfile @@ -96,6 +96,11 @@ https://mail.msfjarvis.dev { if {path} ends_with / to {dir}/index.php } + status 403 /forbidden + rewrite { + r ^/.*/data/?$ + to /forbidden + } } https://mc.msfjarvis.dev {