Add faas-snippet and switch tailnet
This commit is contained in:
parent
256646332f
commit
a6f4d6fef9
6 changed files with 21 additions and 15 deletions
|
@ -6,15 +6,12 @@ msrg.cc {
|
||||||
map {query.resource} {user} {
|
map {query.resource} {user} {
|
||||||
acct:tobias@msrg.cc serguzim
|
acct:tobias@msrg.cc serguzim
|
||||||
acct:serguzim@msrg.cc serguzim
|
acct:serguzim@msrg.cc serguzim
|
||||||
acct:test@msrg.cc test
|
|
||||||
}
|
}
|
||||||
redir * /.well-known/webfinger/{user}.json
|
rewrite * /.well-known/webfinger/{user}.json
|
||||||
|
import faas webpage-msrg-cc
|
||||||
}
|
}
|
||||||
|
|
||||||
handle {
|
handle {
|
||||||
rewrite * /function/webpage-msrg-cc{uri}
|
import faas webpage-msrg-cc
|
||||||
reverse_proxy https://faas.serguzim.me {
|
|
||||||
header_up Host {http.reverse_proxy.upstream.hostport}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
node002.hawk-toad.ts.net {
|
node002.pirate-jazz.ts.net {
|
||||||
import default
|
import default
|
||||||
|
|
||||||
@prometheus {
|
@prometheus {
|
|
@ -5,8 +5,5 @@ serguzim.me {
|
||||||
|
|
||||||
www.serguzim.me {
|
www.serguzim.me {
|
||||||
import default
|
import default
|
||||||
rewrite * /function/webpage-serguzim-me{uri}
|
import faas webpage-serguzim-me
|
||||||
reverse_proxy https://faas.serguzim.me {
|
|
||||||
header_up Host {http.reverse_proxy.upstream.hostport}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
xn--sder-5qa.stream {
|
xn--sder-5qa.stream {
|
||||||
import default
|
import default
|
||||||
rewrite * /function/webpage-soeder-stream{uri}
|
import faas webpage-soeder-stream
|
||||||
reverse_proxy https://faas.serguzim.me {
|
|
||||||
header_up Host {http.reverse_proxy.upstream.hostport}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
8
caddy/config/conf.002.d/team-leon.eu.conf
Normal file
8
caddy/config/conf.002.d/team-leon.eu.conf
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
team-leon.eu {
|
||||||
|
redir https://www.team-leon.eu{uri}
|
||||||
|
}
|
||||||
|
|
||||||
|
www.team-leon.eu {
|
||||||
|
import default
|
||||||
|
import faas webpage-team-leon.eu
|
||||||
|
}
|
|
@ -28,3 +28,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(faas) {
|
||||||
|
rewrite * /function/{args.0}{uri}
|
||||||
|
reverse_proxy https://faas.serguzim.me {
|
||||||
|
header_up Host {http.reverse_proxy.upstream.hostport}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Reference in a new issue