This commit is contained in:
Filippo Berto 2022-12-19 23:34:16 +01:00
parent e946eb7b81
commit 58e14f0dad
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -58,7 +58,7 @@ with lib; {
virtualHosts = let ssl = { enableACME = true; forceSSL = true; }; in
{
"unimi.bertof.net" = ssl // { locations."/".extraConfig = "rewrite ^/(.*)$ https://homes.di.unimi.it/berto/$1 redirect ;"; };
"home-manager.bertof.net" = ssl // { locations."/".proxyPass = "http://loki.local:8123/"; };
"home-assistant.bertof.net" = ssl // { locations."/".proxyPass = "http://loki.local:8123/"; };
};
};
openssh = { enable = true; openFirewall = true; };