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

redirect was previously managed on libocerus
hacc.space now points to hainich
This commit is contained in:
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

View file

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