From 68b36243296601f4a5ed45f4ecb00310b4dc5836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20H=C3=BCbner?= Date: Mon, 21 Jul 2025 08:54:01 +0200 Subject: [PATCH] Try reverse proxy for IP --- dev_system.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dev_system.nix b/dev_system.nix index 8f72b8f..c0c0951 100644 --- a/dev_system.nix +++ b/dev_system.nix @@ -25,6 +25,11 @@ in services.openssh.settings.AllowUsers = [ "pipeline" "david" ]; + security.acme = { + defaults.email = "michael.huebner@ptspaper.de"; + acceptTerms = true; + }; + users.users = { # connection only via ssh key pipeline = { @@ -67,5 +72,14 @@ in }; }; }; + + nginx = { + enable = true; + virtualHosts."88.99.218.181" = { + forceSSL = true; + enableACME = true; + locations."/".proxyPass = "http://localhost:28080"; + }; + }; }; }