diff --git a/conf/Caddyfile b/conf/Caddyfile index ef16140..f0fd69d 100644 --- a/conf/Caddyfile +++ b/conf/Caddyfile @@ -70,6 +70,11 @@ gitea.gynther.se { # ============================================ import.gynther.se { import common + + # Blockera kända skadliga sökvägar + @blocked path_regexp ^/(\.env|\.git|wp-login|robots\.txt|api/graphql|actuator/env|\.DS_Store|file6\.php|wp-.*\.php)$ + respond @blocked 403 + reverse_proxy recipe-import-service:3000 }