reddit: localhost -> 127.0.0.1 to avoid ipv6
This commit is contained in:
parent
fe05235570
commit
0ac62bb2ae
@ -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"; };
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user