Homepage to use proxies module

This commit is contained in:
Greg Hellings
2022-04-20 16:31:43 +00:00
parent 2798392892
commit 55cc25a12a
+3 -4
View File
@@ -27,9 +27,8 @@ in
ports = [ "${homepage}:80" ]; ports = [ "${homepage}:80" ];
}; };
}; };
services.nginx.virtualHosts = { greg.proxies."thehellings.com" = {
"thehellings.com" = { target = "http://${homepage}/";
locations."/".proxyPass = "http://${homepage}/"; ssl = true;
};
}; };
} }