fixed caddy file

This commit is contained in:
2026-10-23 19:30:55 +02:00
parent 637e1237ec
commit 18ea6f6b2e
+8 -3
View File
@@ -56,12 +56,17 @@ game.marvinkrausser.com {
reverse_proxy wizard_website:8082 reverse_proxy wizard_website:8082
} }
# handle_path strips the prefix, so the backends see "/..." only. # handle_path takes a single path, so use named matchers to also match the
handle_path /actionblocks/website /actionblocks/website/* { # bare prefix. The prefixes are stripped, so the backends see "/..." only.
@actionblocks_website path /actionblocks/website /actionblocks/website/*
handle @actionblocks_website {
uri strip_prefix /actionblocks/website
reverse_proxy actionblocks-website:80 reverse_proxy actionblocks-website:80
} }
handle_path /actionblocks/server /actionblocks/server/* { @actionblocks_server path /actionblocks/server /actionblocks/server/*
handle @actionblocks_server {
uri strip_prefix /actionblocks/server
reverse_proxy actionblocks-server:8080 reverse_proxy actionblocks-server:8080
} }