hainich/nginx: redirect hacc.space to hacc.earth

redirect was previously managed on libocerus
hacc.space now points to hainich
keep-around/233ffdd769b718ec977424d7edc9abc55a4d9c4d
schweby 2021-03-18 19:12:14 +01:00
parent 77c06c5509
commit 233ffdd769
No known key found for this signature in database
GPG Key ID: 3A489DBB732B9614
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@
default = true;
locations."/".return = "404";
};
"hacc.space" = {
enableACME = true;
forceSSL = true;
locations."/".return = "301 https://hacc.earth";
};
};
networking.firewall.allowedTCPPorts = [ 1935 ];