moved nginx config to the right place
This commit is contained in:
parent
cf8c8f4694
commit
b3670610b1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue