Provide GPG key using web key directory
This commit is contained in:
parent
5ba4163f95
commit
031bd72e17
@ -16,7 +16,21 @@
|
|||||||
root = fetchGit {
|
root = fetchGit {
|
||||||
url = "https://git.clerie.de/clerie/clerie.de.git";
|
url = "https://git.clerie.de/clerie/clerie.de.git";
|
||||||
ref = "main";
|
ref = "main";
|
||||||
rev = "7fbb8042100fde4a8524eec656519eb8b48ae68a";
|
rev = "23e7b06dc15a8dcc320b2db9508e2192d33236cb";
|
||||||
|
};
|
||||||
|
locations."~ ^/.well-known/openpgpkey/hu/[a-z0-9]+/?$" = {
|
||||||
|
extraConfig = ''
|
||||||
|
default_type application/octet-stream;
|
||||||
|
add_header Access-Control-Allow-Origin * always;
|
||||||
|
try_files /gpg/clerie@clerie.de =404;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
locations."= /.well-known/openpgpkey/policy" = {
|
||||||
|
extraConfig = ''
|
||||||
|
default_type application/octet-stream;
|
||||||
|
add_header Access-Control-Allow-Origin * always;
|
||||||
|
'';
|
||||||
|
return = "200 ''";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user