beagle: nginx: return 404 by default

This commit is contained in:
Pedro Rey Anca 2025-12-06 13:12:49 +01:00
parent 18cc25b3b8
commit 4572f58328
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A

View file

@ -20,6 +20,15 @@
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts = { virtualHosts = {
"_" = {
default = true;
rejectSSL = true; # Avoid serving a certificate
locations."/" = {
return = "404";
};
};
"idm.peprolinbot.com" = { "idm.peprolinbot.com" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;