diff --git a/modules/services/gokapi.nix b/modules/services/gokapi.nix new file mode 100644 index 0000000..fff1400 --- /dev/null +++ b/modules/services/gokapi.nix @@ -0,0 +1,11 @@ +{ lib, config, pkgs, ... }: { + services = { + nginx.virtualHosts."share.liv.town" = { + useACMEHost = "liv.town"; + forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:53842"; + }; + }; + }; +}