heimdall: Add WebFinger placeholder
This commit is contained in:
parent
d6208783c6
commit
5010935ae3
1 changed files with 17 additions and 0 deletions
|
@ -85,6 +85,23 @@
|
||||||
};
|
};
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
virtualHosts = {
|
||||||
|
"datarift.nl" = {
|
||||||
|
extraConfig = ''
|
||||||
|
@webfinger-erwin {
|
||||||
|
path /.well-known/webfinger
|
||||||
|
query resource=acct:erwin@datarift.nl
|
||||||
|
}
|
||||||
|
respond @webfinger-erwin 200 {
|
||||||
|
body `{"subject":"acct:erwin@datarift.nl","links":[{"rel":"http://openid.net/specs/connect/1.0/issuer","href":"https://id.datarift.nl/realms/datarift"}]}`
|
||||||
|
close
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
security.apparmor = {
|
security.apparmor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
killUnconfinedConfinables = true;
|
killUnconfinedConfinables = true;
|
||||||
|
|
Loading…
Reference in a new issue