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:
parent
77c06c5509
commit
233ffdd769
1 changed files with 5 additions and 0 deletions
|
@ -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 ];
|
||||||
|
|
Loading…
Reference in a new issue