1
0

hosts/web-2: Set proper root path for gpg key discovery

This commit is contained in:
clerie 2024-04-17 16:20:14 +02:00
parent 95379f15dd
commit ab4b4918a0

View File

@ -31,6 +31,7 @@
root = pkgs.clerie-keys; root = pkgs.clerie-keys;
}; };
locations."~ ^/.well-known/openpgpkey/hu/[a-z0-9]+/?$" = { locations."~ ^/.well-known/openpgpkey/hu/[a-z0-9]+/?$" = {
root = pkgs.clerie-keys;
extraConfig = '' extraConfig = ''
types { } default_type application/octet-stream; types { } default_type application/octet-stream;
add_header Access-Control-Allow-Origin * always; add_header Access-Control-Allow-Origin * always;