services: use explicit loopback address w/ vhosts

Otherwise it can result in failure to proxy requests sometimes...
This commit is contained in:
Bruno BELANYI 2021-03-27 15:48:49 +00:00
parent 9155e139d4
commit 7fc3a74329
10 changed files with 11 additions and 11 deletions

View file

@ -64,7 +64,7 @@ in
forceSSL = true;
useACMEHost = domain;
locations."/".proxyPass = "http://localhost:${toString cfg.port}/";
locations."/".proxyPass = "http://127.0.0.1:${toString cfg.port}/";
};
my.services.backup = {