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

@ -28,7 +28,7 @@ let
forceSSL = true;
useACMEHost = domain;
locations."/".proxyPass = "http://localhost:${builtins.toString port}/";
locations."/".proxyPass = "http://127.0.0.1:${builtins.toString port}/";
})
ports);
in