This commit is contained in:
Reid 2024-03-19 22:58:07 -07:00
parent 68737c75e3
commit 40eaef3d59

View file

@ -97,9 +97,6 @@ in {
${realIpsFromList cfipv6} ${realIpsFromList cfipv6}
real_ip_header CF-Connecting-IP; real_ip_header CF-Connecting-IP;
''; '';
# this prevents invalid domains and direct ip access from being used
virtualHosts."_".locations."/".return = "444";
}; };
networking.firewall.allowedTCPPorts = [ 443 80 ]; networking.firewall.allowedTCPPorts = [ 443 80 ];