From 3f20418fa59eec2915b52e7bb138ef4ce3059960 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 26 Sep 2024 13:17:35 +0200 Subject: [PATCH] feat: adds proxy for sharkey --- modules/services/sharkey-proxy.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 modules/services/sharkey-proxy.nix 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"; + }; + }; + }; +}