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