set up ipv6
This commit is contained in:
parent
bc0fb79718
commit
00debaaa80
3 changed files with 25 additions and 2 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
services.dnsproxy = {
|
||||
enable = true;
|
||||
|
|
@ -9,5 +10,5 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment.etc."resolv.conf".text = "nameserver 127.0.0.1";
|
||||
environment.etc."resolv.conf".text = lib.mkForce "nameserver 127.0.0.1";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,10 @@
|
|||
|
||||
config = {
|
||||
systemd.services.caddy.serviceConfig.Restart = lib.mkForce "always";
|
||||
networking.firewall.allowedTCPPorts = [ 443 ];
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
email = "henry@henryhiles.com";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue