Add webfinger-capabilities to caddy for msrg.cc
This commit is contained in:
parent
1a48817558
commit
256646332f
1 changed files with 14 additions and 3 deletions
|
@ -2,8 +2,19 @@ msrg.cc {
|
||||||
import default
|
import default
|
||||||
header /.well-known/* Access-Control-Allow-Origin *
|
header /.well-known/* Access-Control-Allow-Origin *
|
||||||
|
|
||||||
rewrite * /function/webpage-msrg-cc{uri}
|
handle /.well-known/webfinger {
|
||||||
reverse_proxy https://faas.serguzim.me {
|
map {query.resource} {user} {
|
||||||
header_up Host {http.reverse_proxy.upstream.hostport}
|
acct:tobias@msrg.cc serguzim
|
||||||
|
acct:serguzim@msrg.cc serguzim
|
||||||
|
acct:test@msrg.cc test
|
||||||
|
}
|
||||||
|
redir * /.well-known/webfinger/{user}.json
|
||||||
|
}
|
||||||
|
|
||||||
|
handle {
|
||||||
|
rewrite * /function/webpage-msrg-cc{uri}
|
||||||
|
reverse_proxy https://faas.serguzim.me {
|
||||||
|
header_up Host {http.reverse_proxy.upstream.hostport}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue