fix: nginx: return 404 HTTP code for unused subdomains
This commit is contained in:

committed by
Inex Code

parent
cf160379c0
commit
0449f6baeb
@@ -60,6 +60,11 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"_" = {
|
||||||
|
useACMEHost = domain;
|
||||||
|
forceSSL = true;
|
||||||
|
extraConfig = "return 404;";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
Reference in New Issue
Block a user