Add redirect for fautlfer.com

This commit is contained in:
Paul-Henri Froidmont 2024-01-30 08:20:48 +01:00
parent b1be7728c5
commit 70264407d0
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE

View file

@ -89,6 +89,24 @@
};
};
services.nginx.virtualHosts."www.fautlfer.com" = {
enableACME = true;
forceSSL = true;
locations."= /".extraConfig = ''
return 302 https://blogz.zaclys.com/faut-l-fer/;
'';
};
services.nginx.virtualHosts."fautlfer.com" = {
enableACME = true;
forceSSL = true;
locations."= /".extraConfig = ''
return 302 https://blogz.zaclys.com/faut-l-fer/;
'';
};
networking.firewall.allowedTCPPorts = [ 80 443 64738 ];
networking.firewall.allowedUDPPorts = [ 64738 ];
networking.firewall.interfaces."eth1".allowedTCPPorts =