parent
5581165336
commit
d19006ea44
|
@ -7,7 +7,16 @@ in {
|
||||||
"jolheiser.com" = {
|
"jolheiser.com" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
handle_path /.well-known/webfinger {
|
handle_path /.well-known/webfinger {
|
||||||
respond "{\"subject\":\"acct:john@jolheiser.com\",\"links\":[{\"rel\":\"http://openid.net/specs/connect/1.0/issuer\",\"href\":\"https://git.jojodev.com/\"}]}"
|
header Content-Type application/jrd+json
|
||||||
|
respond ${builtins.toJSON {
|
||||||
|
subject = "acct:john@jolheiser.com";
|
||||||
|
links = [
|
||||||
|
{
|
||||||
|
rel = "http://openid.net/specs/connect/1.0/issuer";
|
||||||
|
href = "https://git.jojodev.com/";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}}
|
||||||
}
|
}
|
||||||
handle_path /bennet* {
|
handle_path /bennet* {
|
||||||
root * /srv/bennet/src
|
root * /srv/bennet/src
|
||||||
|
|
Reference in New Issue