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