404 page
This commit is contained in:
parent
b857aac01a
commit
8597d6445f
@ -10,6 +10,29 @@
|
|||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = 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" ];
|
users.groups.acme.members = [ "nginx" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user