Compare commits

..

2 Commits

Author SHA1 Message Date
Nils-Johan Gynther 38175f0401 Merge branch 'main' of ssh://gitea.gynther.se:2222/nilsjohan/caddy 2026-06-20 13:09:08 +02:00
Nils-Johan Gynther 4afffa74fd Add security measures to import.gynther.se by blocking known harmful paths 2026-06-20 13:09:05 +02:00
+5
View File
@@ -74,6 +74,11 @@ gitea.gynther.se {
# ============================================ # ============================================
import.gynther.se { import.gynther.se {
import common 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 reverse_proxy recipe-import-service:3000
} }