From b9a2425d9997b8f9a0935991f6121985792e0084 Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Tue, 10 Mar 2020 16:42:20 +0100 Subject: [PATCH] Remote the extra slash from the socket path --- module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module.nix b/module.nix index 3825420..ee87191 100644 --- a/module.nix +++ b/module.nix @@ -109,7 +109,7 @@ in ''; locations."/static/".alias = "${static}/"; locations."/" = { - proxyPass = "http://unix:/${cfg.socketPath}"; + proxyPass = "http://unix:${cfg.socketPath}"; extraConfig = '' proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr;