diff --git a/hosts/frikandel/authelia-forward.nix b/hosts/frikandel/authelia-forward.nix new file mode 100644 index 0000000..9a581f3 --- /dev/null +++ b/hosts/frikandel/authelia-forward.nix @@ -0,0 +1,17 @@ +{ + flake, + config, + pkgs, + lib, + ... +}: { + security.acme.certs = { + "auth.b12f.io" = {}; + }; + + services.nginx.virtualHosts."auth.b12f.io" = { + forceSSL = true; + useACMEHost = "auth.b12f.io"; + locations."/".proxyPass = "https://auth.b12f.io"; + }; +} diff --git a/hosts/frikandel/default.nix b/hosts/frikandel/default.nix index 57b9f46..cedeab7 100644 --- a/hosts/frikandel/default.nix +++ b/hosts/frikandel/default.nix @@ -9,6 +9,7 @@ ./wireguard.nix ./email.nix ./website.nix - ./jellyfin-forward.nix + # ./jellyfin-forward.nix + # ./authelia-forward.nix ]; }