This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/caddy/config/conf.002.d/msrg.cc.conf

20 lines
452 B
Text

msrg.cc {
import default
header /.well-known/* Access-Control-Allow-Origin *
handle /.well-known/webfinger {
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
}
handle {
rewrite * /function/webpage-msrg-cc{uri}
reverse_proxy https://faas.serguzim.me {
header_up Host {http.reverse_proxy.upstream.hostport}
}
}
}