This commit is contained in:
Giulio De Pasquale 2021-08-09 17:39:45 +02:00
parent b857aac01a
commit 8597d6445f

View File

@ -10,6 +10,29 @@
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."giugl.io" = {
default = true;
enableACME = true;
addSSL = true;
root = "/var/lib/nginx/error_pages";
extraConfig = "error_page 404 /index.htm;";
locations = {
"/" = {
return = "404";
};
"/index.htm" = {
};
"/style.css" = {
};
"/wat.jpg" = {
};
};
};
};
users.groups.acme.members = [ "nginx" ];