added wizard caddy entrys

This commit is contained in:
2026-09-27 09:48:24 +02:00
parent 8755142c97
commit c5c47b1e1b
2 changed files with 33 additions and 2 deletions
+26 -1
View File
@@ -38,4 +38,29 @@ portfolio.marvinkrausser.com {
git.marvinkrausser.com {
import common
reverse_proxy gitea:3000
}
}
game.marvinkrausser.com {
import common
# /wizard and /wizard/website -> /wizard/website/ so relative asset paths resolve
redir /wizard /wizard/website/ permanent
redir /wizard/ /wizard/website/ permanent
redir /wizard/website /wizard/website/ permanent
# The prefixes are stripped, so the backends see "/..." instead of
# "/wizard/api/..." or "/wizard/website/...".
@wizard_api path /wizard/api /wizard/api/*
handle @wizard_api {
uri strip_prefix /wizard/api
reverse_proxy wizard_server:8083
}
handle_path /wizard/website/* {
reverse_proxy wizard_website:8082
}
handle {
respond 404
}
}