diff --git a/config/hosts/wind/configuration.nix b/config/hosts/wind/configuration.nix index b909657..5d59f5f 100644 --- a/config/hosts/wind/configuration.nix +++ b/config/hosts/wind/configuration.nix @@ -8,6 +8,7 @@ ./services/acme.nix ./services/coturn.nix ./services/nginx.nix + ./services/nitter.nix ./services/postgres.nix ./services/synapse.nix ./services/ttrss.nix diff --git a/config/hosts/wind/services/nginx.nix b/config/hosts/wind/services/nginx.nix index 5e0cf2f..e219049 100644 --- a/config/hosts/wind/services/nginx.nix +++ b/config/hosts/wind/services/nginx.nix @@ -29,11 +29,6 @@ forceSSL = true; locations."/".proxyPass = "http://unix:/run/gitea/gitea.sock:"; }; - "nitter.graven.dev" = { - useACMEHost = "graven.dev"; - forceSSL = true; - locations."/".proxyPass = "http://localhost:4992" - } "vault.graven.dev" = { forceSSL = true; useACMEHost = "graven.dev"; diff --git a/config/hosts/wind/services/nitter.nix b/config/hosts/wind/services/nitter.nix index 9bc7f40..7c07e62 100644 --- a/config/hosts/wind/services/nitter.nix +++ b/config/hosts/wind/services/nitter.nix @@ -5,7 +5,8 @@ server = { port = 4992; # Only save cookies on HTTPS - https = true; + address = "127.0.0.1"; + } } }