Compare commits

...

7 Commits

Author SHA1 Message Date
nilsjohan 3cc579992e caddy logs with timestamps 2026-08-01 11:46:03 +02:00
Nils-Johan Gynther bd3d594a9b Add default response for import service root path 2026-06-20 16:45:15 +02:00
Nils-Johan Gynther 751a1fe075 Update wetty reverse proxy to use correct port 3003 2026-06-20 13:28:23 +02:00
Nils-Johan Gynther 0d106836db Update reverse proxy settings for import service to use correct API endpoint 2026-06-20 13:27:21 +02:00
Nils-Johan Gynther 2bc7969467 Fix merge conflict in Caddyfile for nzbget route 2026-06-20 13:12:16 +02:00
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
2 changed files with 13 additions and 6 deletions
View File
+13 -6
View File
@@ -25,14 +25,11 @@ test.gynther.se {
reverse_proxy recipe-flutter:5000
}
<<<<<<< HEAD
nzbget.gynther.se {
import common
reverse_proxy http://192.168.50.4:6789
}
=======
>>>>>>> 0f6813d (Update Caddyfile routes and auth import)
prowlarr.gynther.se {
import common
reverse_proxy http://prowlarr:9696
@@ -61,7 +58,7 @@ wetty.gynther.se {
import auth
import common
redir / /wetty
reverse_proxy wetty:3001
reverse_proxy wetty:3003
}
gitea.gynther.se {
@@ -74,7 +71,17 @@ gitea.gynther.se {
# ============================================
import.gynther.se {
import common
reverse_proxy recipe-import-service:3000
# 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
# Lägg till en standard-sida för /
handle / {
respond "Welcome to Import Service" 200
}
reverse_proxy importer-api:3001
}
# ============================================
@@ -86,7 +93,7 @@ recept.gynther.se {
# === IMPORT SERVICE (Document Converter) ===
# Dessa endpoints måste komma FÖRST innan backend reglerna!
handle /api/recipes/import* {
reverse_proxy recipe-import-service:3000
reverse_proxy importer-api:3001
}
# === RECIPE FRONTEND PROXY ENDPOINTS ===