diff --git a/pastila/configuration.nix b/pastila/configuration.nix index 9c13866..b6afc76 100644 --- a/pastila/configuration.nix +++ b/pastila/configuration.nix @@ -21,6 +21,7 @@ in ./imap.nix ./web-misc.nix ./miniflux.nix + ./convos.nix ]; nixpkgs.overlays = [ diff --git a/pastila/convos.nix b/pastila/convos.nix new file mode 100644 index 0000000..9efa14b --- /dev/null +++ b/pastila/convos.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs, ... }: + +{ + # services.convos = { + # enable = true; + # reverseProxy = true; + # }; + + # services.nginx.virtualHosts."convos.isomorphis.me" = { + # enableACME = true; + # forceSSL = true; + # locations."/" = { + # proxyPass = "http://localhost:3000"; + # proxyWebsockets = true; + # }; + # extraConfig = '' + # client_max_body_size 0; + # proxy_set_header X-Request-Base "$scheme://$host/"; + # ''; + # }; +} \ No newline at end of file diff --git a/vars.nix b/vars.nix index fef5551..12a3bbf 100644 --- a/vars.nix +++ b/vars.nix @@ -25,6 +25,7 @@ { num = 51413; proto = "udp"; } # mosh # see ad-hoc config in oven/configuration.nix + # (60000:61000) # Headscale RPC { num = 50443; proto = "tcp"; } # SMTP