From eeba81797fc70348198266498f67c15086741727 Mon Sep 17 00:00:00 2001 From: Natalie Marks Date: Tue, 16 Apr 2024 00:52:21 -0700 Subject: [PATCH] updated system config --- configuration.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/configuration.nix b/configuration.nix index 36eef10..775cc40 100644 --- a/configuration.nix +++ b/configuration.nix @@ -26,6 +26,28 @@ }; }; + services.caddy = { + enable = true; + + virtualHosts."10.154.1.147".extraConfig = '' + tls internal + reverse_proxy localhost:30000 + encode zstd gzip + ''; + + virtualHosts."10.154.1.105".extraConfig = '' + tls internal + reverse_proxy localhost:30000 + encode zstd gzip + ''; + + virtualHosts."pathfinder2e.duckdns.org".extraConfig = '' + tls internal + reverse_proxy localhost:30000 + encode zstd gzip + ''; + }; + services.flatpak.enable = true; nix.settings.experimental-features = ["nix-command" "flakes"];