ingress-proxy: refactor vhosts

This commit is contained in:
41666 2024-01-06 13:45:59 -05:00
parent 34be84f64f
commit d0d181c66d

View file

@ -37,9 +37,9 @@ in {
} // defaultConfig; } // defaultConfig;
placeholder = { placeholder = {
locations."/" = { locations."/" = {
alias = pkgs.writeText "placeholder.html" "<!doctype html><h1>empty space</h1><p>this site is not operational</p>"; alias = pkgs.writeText "placeholder.html" "empty space -- this site is non-functional";
extraConfig = '' extraConfig = ''
default_type text/html; default_type text/plain;
''; '';
}; };
} // defaultConfig; } // defaultConfig;