diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2025-05-15 08:11:45 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2025-05-15 08:11:45 -0600 |
| commit | a0654fb4261c8c3bb1e1e0558ccbd4fa3903861a (patch) | |
| tree | 5b1f476af8618173b337894060292e2da4cb7b74 | |
| parent | 244fe7b740788726e7abef83a5f4aff55716b9be (diff) | |
| parent | bd792c0fd4d4a41bfc661537ca8d9323566e751f (diff) | |
Merge branch 'master' of ssh://bosco:/srv/git/.flake
| -rw-r--r-- | machines/bosco/default.nix | 1 | ||||
| -rw-r--r-- | machines/bosco/reverse-proxy.nix | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/machines/bosco/default.nix b/machines/bosco/default.nix index b37887e..bb2867f 100644 --- a/machines/bosco/default.nix +++ b/machines/bosco/default.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ./reverse-proxy.nix ../../modules/nixos/nix-common.nix ../../modules/nixos/environment.nix diff --git a/machines/bosco/reverse-proxy.nix b/machines/bosco/reverse-proxy.nix new file mode 100644 index 0000000..9d3e382 --- /dev/null +++ b/machines/bosco/reverse-proxy.nix @@ -0,0 +1,11 @@ +{ config, ... }: { + services.caddy = { + enable = true; + virtualHosts."foolcreekwireless.com" = { + serverAliases = [ "www.foolcreekwireless.com" ]; + extraConfig = '' + reverse_proxy http://doretta + ''; + }; + }; +} |
