mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add redirect for fautlfer.com
This commit is contained in:
parent
b1be7728c5
commit
70264407d0
1 changed files with 18 additions and 0 deletions
|
|
@ -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.allowedTCPPorts = [ 80 443 64738 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 64738 ];
|
networking.firewall.allowedUDPPorts = [ 64738 ];
|
||||||
networking.firewall.interfaces."eth1".allowedTCPPorts =
|
networking.firewall.interfaces."eth1".allowedTCPPorts =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue