aboutsummaryrefslogtreecommitdiff
path: root/machines/nixos/x86_64-linux/argonath.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-22 11:03:49 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-22 11:03:49 -0800
commit46a2f1f852cc4fe8d5c86757de4029d87ccb03af (patch)
tree3124a05e344b56ded5211a57baba7192548925e3 /machines/nixos/x86_64-linux/argonath.nix
parentdelete do-rproxy (diff)
downloadinfra-46a2f1f852cc4fe8d5c86757de4029d87ccb03af.tar.gz
initial setup for authelia
Diffstat (limited to 'machines/nixos/x86_64-linux/argonath.nix')
-rw-r--r--machines/nixos/x86_64-linux/argonath.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/machines/nixos/x86_64-linux/argonath.nix b/machines/nixos/x86_64-linux/argonath.nix
index af70040..fa7855c 100644
--- a/machines/nixos/x86_64-linux/argonath.nix
+++ b/machines/nixos/x86_64-linux/argonath.nix
@@ -9,8 +9,8 @@
../../../profiles/acme.nix
../../../profiles/cgroups.nix
../../../profiles/defaults.nix
- ../../../profiles/hardware/do-droplet.nix
../../../profiles/disk/basic-vm.nix
+ ../../../profiles/hardware/do-droplet.nix
../../../profiles/home-manager.nix
../../../profiles/server.nix
];
@@ -62,6 +62,14 @@
proxyPass = "http://10.100.0.60";
};
};
+ "auth.fcuny.net" = {
+ enableACME = true;
+ acmeRoot = null;
+ forceSSL = true;
+ locations."/" = {
+ proxyPass = "http://10.100.0.60:9092";
+ };
+ };
"fcuny.net" = {
enableACME = true;
acmeRoot = null;