From 1a25b198efbb511d80c022a6950c0ffcf0005b5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Mon, 20 Jan 2025 14:40:30 +0100 Subject: [PATCH] Add a vhosts to nginx server --- services/nginx/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/services/nginx/default.nix b/services/nginx/default.nix index f637385..93ef4b5 100644 --- a/services/nginx/default.nix +++ b/services/nginx/default.nix @@ -146,6 +146,15 @@ in proxyWebsockets = true; }; }; + "actual.le43.eu" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://192.168.1.125:5006"; + recommendedProxySettings = true; + proxyWebsockets = true; + }; + }; }; }; };