reddit: localhost -> 127.0.0.1 to avoid ipv6

This commit is contained in:
Giulio De Pasquale 2022-11-11 00:33:06 +01:00
parent fe05235570
commit 0ac62bb2ae

View File

@ -3,7 +3,8 @@
let
domain = "reddit.giugl.io";
network = import ./network.nix;
in {
in
{
services = {
libreddit = {
enable = true;
@ -13,7 +14,7 @@ in {
nginx.virtualHosts.${domain} = {
forceSSL = true;
enableACME = true;
locations."/" = { proxyPass = "http://localhost:9090"; };
locations."/" = { proxyPass = "http://127.0.0.1:9090"; };
};
};