diff --git a/config/hosts/wind/services/nginx.nix b/config/hosts/wind/services/nginx.nix index e219049..5e0cf2f 100644 --- a/config/hosts/wind/services/nginx.nix +++ b/config/hosts/wind/services/nginx.nix @@ -29,6 +29,11 @@ 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 new file mode 100644 index 0000000..9bc7f40 --- /dev/null +++ b/config/hosts/wind/services/nitter.nix @@ -0,0 +1,11 @@ +{ config, ... }: +{ + services.nitter = { + enable = true; + server = { + port = 4992; + # Only save cookies on HTTPS + https = true; + } + } +}