diff --git a/modules/services/sharkey-proxy.nix b/modules/services/sharkey-proxy.nix new file mode 100644 index 0000000..f2e54a6 --- /dev/null +++ b/modules/services/sharkey-proxy.nix @@ -0,0 +1,12 @@ +{ lib, config, pkgs, ... }: +{ + services = { + nginx.virtualHosts."quack.social" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:3000"; + }; + }; + }; +}