services: use explicit loopback address w/ vhosts
Otherwise it can result in failure to proxy requests sometimes...
This commit is contained in:
parent
9155e139d4
commit
7fc3a74329
10 changed files with 11 additions and 11 deletions
|
|
@ -26,7 +26,7 @@ in
|
|||
forceSSL = true;
|
||||
useACMEHost = domain;
|
||||
|
||||
locations."/".proxyPass = "http://localhost:${toString jackettPort}/";
|
||||
locations."/".proxyPass = "http://127.0.0.1:${toString jackettPort}/";
|
||||
};
|
||||
|
||||
services.nzbhydra2 = lib.mkIf cfg.nzbhydra.enable {
|
||||
|
|
@ -38,7 +38,7 @@ in
|
|||
forceSSL = true;
|
||||
useACMEHost = domain;
|
||||
|
||||
locations."/".proxyPass = "http://localhost:${toString nzbhydraPort}/";
|
||||
locations."/".proxyPass = "http://127.0.0.1:${toString nzbhydraPort}/";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue