From c87148b911cb62e0f15da99a38f3d2da4c2ec388 Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:45:18 +1000 Subject: [PATCH] style: remove redundancy in nginx config template --- modules/templates/web-feature.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/modules/templates/web-feature.nix b/modules/templates/web-feature.nix index 837b1c6..d101877 100644 --- a/modules/templates/web-feature.nix +++ b/modules/templates/web-feature.nix @@ -16,14 +16,12 @@ in }; # reverse proxy - nginx = { - virtualHosts."${feature}.fi33.buzz" = { - forceSSL = true; - useACMEHost = "fi33.buzz"; - locations."/" = { - proxyPass = "http://localhost:${port}"; - # proxyWebsockets = true; - }; + nginx.virtualHosts."${feature}.fi33.buzz" = { + forceSSL = true; + useACMEHost = "fi33.buzz"; + locations."/" = { + proxyPass = "http://localhost:${port}"; + # proxyWebsockets = true; }; }; };