fix: nginx: return 404 HTTP code for unused subdomains

This commit is contained in:
Alexander Tomokhov
2025-05-21 14:52:58 +04:00
committed by Inex Code
parent cf160379c0
commit 0449f6baeb

View File

@@ -60,6 +60,11 @@ in
};
};
};
"_" = {
useACMEHost = domain;
forceSSL = true;
extraConfig = "return 404;";
};
};
};
systemd.tmpfiles.rules = [