From a514c944bd6826f09d9d532c49cdcd8de4421dac Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Sun, 23 Jun 2024 14:08:44 -0500 Subject: [PATCH] add franklincce and docker on a trial basis --- boxes/netbox/default.nix | 1 + boxes/netbox/franklincce.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 boxes/netbox/franklincce.nix diff --git a/boxes/netbox/default.nix b/boxes/netbox/default.nix index 74dafc6..8bf24e0 100644 --- a/boxes/netbox/default.nix +++ b/boxes/netbox/default.nix @@ -15,6 +15,7 @@ ./rss2email.nix ./fail2ban.nix ./nginx.nix + ./franklincce.nix ]; # nix optimization diff --git a/boxes/netbox/franklincce.nix b/boxes/netbox/franklincce.nix new file mode 100644 index 0000000..f5cf6cd --- /dev/null +++ b/boxes/netbox/franklincce.nix @@ -0,0 +1,12 @@ +{ lib, config, pkgs, ... }: +{ + virtualisation.docker.enable = true; + + services.nginx.virtualHosts."franklincce.beepboop.systems" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://localhost:1337"; + }; + }; +}