Remote the extra slash from the socket path
This commit is contained in:
parent
1429212c4a
commit
b9a2425d99
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ in
|
||||||
'';
|
'';
|
||||||
locations."/static/".alias = "${static}/";
|
locations."/static/".alias = "${static}/";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://unix:/${cfg.socketPath}";
|
proxyPass = "http://unix:${cfg.socketPath}";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue