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} {
|
||||
acct:tobias@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 {
|
||||
rewrite * /function/webpage-msrg-cc{uri}
|
||||
reverse_proxy https://faas.serguzim.me {
|
||||
header_up Host {http.reverse_proxy.upstream.hostport}
|
||||
}
|
||||
import faas webpage-msrg-cc
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
node002.hawk-toad.ts.net {
|
||||
node002.pirate-jazz.ts.net {
|
||||
import default
|
||||
|
||||
@prometheus {
|
|
@ -5,8 +5,5 @@ serguzim.me {
|
|||
|
||||
www.serguzim.me {
|
||||
import default
|
||||
rewrite * /function/webpage-serguzim-me{uri}
|
||||
reverse_proxy https://faas.serguzim.me {
|
||||
header_up Host {http.reverse_proxy.upstream.hostport}
|
||||
}
|
||||
import faas webpage-serguzim-me
|
||||
}
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
xn--sder-5qa.stream {
|
||||
import default
|
||||
rewrite * /function/webpage-soeder-stream{uri}
|
||||
reverse_proxy https://faas.serguzim.me {
|
||||
header_up Host {http.reverse_proxy.upstream.hostport}
|
||||
}
|
||||
import faas webpage-soeder-stream
|
||||
}
|
||||
|
|
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