mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 20:02:10 +02:00
@@ -19,6 +19,9 @@
|
|||||||
services.nginx.virtualHosts."default" = {
|
services.nginx.virtualHosts."default" = {
|
||||||
default = true;
|
default = true;
|
||||||
locations."/" = { return = 444; };
|
locations."/" = { return = 444; };
|
||||||
|
extraConfig = ''
|
||||||
|
server_name _;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|||||||
Reference in New Issue
Block a user