diff --git a/hosts/containers/c3d2-web/default.nix b/hosts/containers/c3d2-web/default.nix index 151587e7..062d6b7c 100644 --- a/hosts/containers/c3d2-web/default.nix +++ b/hosts/containers/c3d2-web/default.nix @@ -51,6 +51,13 @@ in "/status.png".proxyPass = "http://[${config.c3d2.hosts.spaceapi.ip6}]:3000/status.png"; "/spaceapi.json".proxyPass = "http://[${config.c3d2.hosts.spaceapi.ip6}]:3000/spaceapi.json"; }; + # WKD: Web Key Directory for PGP Keys + location ^~ /.well-known/openpgpkey { + #location /.well-known/openpgpkey/hu/ { + autoindex off; + default_type "application/octet-stream"; + add_header Access-Control-Allow-Origin * always; + } }; # datenspuren