diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-12-11 14:26:09 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-12-11 14:26:09 +0900 |
commit | 26cbd33aa5cc5633995a8f4e3a9192c6a1a65f03 (patch) | |
tree | acf3a3f678673efb1da607b8a06ce31cae064e81 /static.nix | |
parent | ccb3560f85b698b7d97ec40334f99b1a514aa2cb (diff) | |
download | nixos-conf-26cbd33aa5cc5633995a8f4e3a9192c6a1a65f03.tar.gz |
Let xarvos run honk at cc.xrvs.net
Diffstat (limited to 'static.nix')
-rw-r--r-- | static.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/static.nix b/static.nix index 0a117d5..b1f736e 100644 --- a/static.nix +++ b/static.nix @@ -90,6 +90,14 @@ in { forceSSL = true; root = "/var/lib/www/septagram.suricrasia.online"; }; + + "cc.xrvs.net" = let + honk = "/var/lib/www/cc.xrvs.net/honk.sock"; + in { + enableACME = true; + forceSSL = true; + locations."/".proxyPass = "http://unix:${honk}"; + }; }; }; |