Remote the extra slash from the socket path

This commit is contained in:
Andrey Golovizin 2020-03-10 16:42:20 +01:00
parent 1429212c4a
commit b9a2425d99

View file

@ -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;