1 files changed, 22 insertions(+), 0 deletions(-)
configuration.nix+22| ... | ... | @@ -26,6 +26,28 @@ |
| 26 | 26 | }; |
| 27 | 27 | }; |
| 28 | 28 | |
| 29 | services.caddy = { | |
| 30 | enable = true; | |
| 31 | ||
| 32 | virtualHosts."10.154.1.147".extraConfig = '' | |
| 33 | tls internal | |
| 34 | reverse_proxy localhost:30000 | |
| 35 | encode zstd gzip | |
| 36 | ''; | |
| 37 | ||
| 38 | virtualHosts."10.154.1.105".extraConfig = '' | |
| 39 | tls internal | |
| 40 | reverse_proxy localhost:30000 | |
| 41 | encode zstd gzip | |
| 42 | ''; | |
| 43 | ||
| 44 | virtualHosts."pathfinder2e.duckdns.org".extraConfig = '' | |
| 45 | tls internal | |
| 46 | reverse_proxy localhost:30000 | |
| 47 | encode zstd gzip | |
| 48 | ''; | |
| 49 | }; | |
| 50 | ||
| 29 | 51 | services.flatpak.enable = true; |
| 30 | 52 | |
| 31 | 53 | nix.settings.experimental-features = ["nix-command" "flakes"]; |