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" ];
};
};
services.nginx.virtualHosts = {
"thehellings.com" = {
locations."/".proxyPass = "http://${homepage}/";
};
greg.proxies."thehellings.com" = {
target = "http://${homepage}/";
ssl = true;
};
}