beagle: nginx: return 404 by default
This commit is contained in:
parent
18cc25b3b8
commit
4572f58328
1 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue