Merge pull request 'nginx config for wkd' (#31) from nginx-wkd into master
Reviewed-on: #31
This commit is contained in:
commit
859cca93df
|
@ -35,7 +35,7 @@ in
|
|||
default = true;
|
||||
serverAliases = [
|
||||
"c3d2.de"
|
||||
"c3dd.de" "www.c3dd.de"
|
||||
"c3dd.de" "www.c3dd.de" "openpgpkey.c3d2.de"
|
||||
"cccdd.de" "www.cccdd.de"
|
||||
"dresden.ccc.de" "www.dresden.ccc.de"
|
||||
"netzbiotop.org" "www.netzbiotop.org"
|
||||
|
@ -50,6 +50,15 @@ 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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue