Skip to content

Commit 7282797

Browse files
committed
chore(caddy): update redirects and configs
mostly adapting old config setup into the fresh one btw, also testing the waters for CI-based deploys btw Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
1 parent c966789 commit 7282797

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

config/caddy/Caddyfile

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,17 @@ http://localhost:4208 {
5151
*.lorebooks.wiki, *.beta.lorebooks.wiki, *.lorebooks.eu.org, *.beta.lorebooks.eu.org {
5252
import globals cf_dns01_challenge
5353

54+
@proxyparty host proxyparty.lorebooks.wiki proxyparty.lorebooks.eu.org
55+
@ajhalili2006 host ajhalili2006.lorebooks.wiki ajhalili2006.lorebooks.eu.org andreijiroh.lorebooks.wiki andreijiroh.lorebooks.eu.org
56+
57+
handle @proxyparty {
58+
redir https://gitlab.com/recaptime-dev/infra/proxyparty-caddy
59+
}
60+
61+
handle @ajhalili2006 {
62+
redir https://wiki.andreijiroh.dev{path}
63+
}
64+
5465
handle {
5566
root * ./pages/parking.lorebooks.wiki
5667
encode gzip
@@ -59,7 +70,7 @@ http://localhost:4208 {
5970
}
6071
}
6172

62-
*.stellapent.wiki {
73+
*.stellapent.wiki stellapent.wiki {
6374
import globals cf_dns01_challenge
6475

6576
handle {
@@ -73,6 +84,12 @@ http://localhost:4208 {
7384
*.recaptime.dev, *.recaptime.eu.org {
7485
import globals cf_dns01_challenge
7586

87+
@proxyparty host proxyparty.recaptime.dev proxyparty.recaptime.eu.org
88+
89+
handle @proxyparty {
90+
redir https://gitlab.com/recaptime-dev/infra/proxyparty-caddy
91+
}
92+
7693
redir https://recaptime.dev
7794
}
7895
## RecapTime.dev project domains - END ##

0 commit comments

Comments
 (0)