moved nginx config to the right place

This commit is contained in:
Tassilo - 2022-04-28 13:52:58 +02:00
parent cf8c8f4694
commit b3670610b1
Signed by: revol-xut
GPG Key ID: 4F56FF7759627D07
1 changed files with 9 additions and 7 deletions

View File

@ -50,14 +50,16 @@ in
# SpaceAPI
"/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
"/openpgp" = {
extraConfig = ''
autoindex off;
default_type "application/octet-stream";
add_header Access-Control-Allow-Origin * always;
'';
};
};
# 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