Set meme as default site on nginx

This commit is contained in:
Giulio De Pasquale 2022-10-13 16:04:56 +02:00
parent efe8e4d575
commit bb5bf44156

View File

@ -8,28 +8,23 @@
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" = {
# };
# };
# };
virtualHosts."architect.devs.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" = { };
};
};
appendConfig = ''
worker_processes 24;
'';