This commit is contained in:
Hadi 2024-06-19 23:48:36 +02:00
parent cafce8e7c9
commit 92e8eb8983

View File

@ -18,7 +18,7 @@ in {
services.nginx.virtualHosts.${hostname} = {
enableACME = true;
forceSSL = true;
locations."/" = { proxyPass = "http://127.0.0.1:${port}"; };
locations."/" = { proxyPass = "http://127.0.0.1:${toString port}"; };
};
networking.firewall.allowedTCPPorts = [ port ];
}