all repos — nixfiles @ 0442e80a60690a8196bb4cbf00183fe6bbceb2f6

System and user configuration, managed by nix and home-manager

dev: add virtual host for elgit development
Alan Pearce alan@alanpearce.eu
Mon, 31 Mar 2025 22:00:43 +0200
commit

0442e80a60690a8196bb4cbf00183fe6bbceb2f6

parent

6f1941c8638d0172c0925ca65e01dd9ae691a69c

1 files changed, 12 insertions(+), 0 deletions(-)

jump to
M system/settings/dev.nixsystem/settings/dev.nix
@@ -40,6 +40,18 @@ }             }
           '';
         };
+        "elgit.localhost" = {
+          logFormat = "output discard";
+          extraConfig = ''
+            ${local_tls}
+            reverse_proxy http://127.0.0.1:5555 {
+              transport http {
+                 dial_timeout 1s
+                 compression off
+              }
+            }
+          '';
+        };
         "searchix.localhost" = {
           logFormat = "output discard";
           extraConfig = ''