add mime and accept header for wkd

This commit is contained in:
vv01f 2022-04-25 10:52:00 +02:00
parent c568ff4a31
commit f51a4b7aaf
1 changed files with 7 additions and 0 deletions

View File

@ -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