mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 12:02:09 +02:00
default virtualHost
This commit is contained in:
@@ -16,6 +16,11 @@
|
|||||||
credentialsFile = config.sops.secrets.cloudflare-dns-token.path;
|
credentialsFile = config.sops.secrets.cloudflare-dns-token.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."default" = {
|
||||||
|
default = true;
|
||||||
|
locations."/" = { return = 444; };
|
||||||
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 80 443 ];
|
networking.firewall.allowedUDPPorts = [ 80 443 ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user