diff options
-rw-r--r-- | hosts/kay/modules/www.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/kay/modules/www.nix b/hosts/kay/modules/www.nix index aec5d5a..f8b3611 100644 --- a/hosts/kay/modules/www.nix +++ b/hosts/kay/modules/www.nix @@ -5,6 +5,7 @@ let email = config.userdata.email; fscusat = "fscusat.org"; mark = "themark.ing"; + storage = "/hdd/users/sftp/shr"; in { imports = [ @@ -63,6 +64,13 @@ in enableACME = true; root = "/var/www/${domain}"; }; + "bin.${domain}" = { + forceSSL = true; + enableACME = true; + root = "${storage}/bin"; + + locations."= /".return = "307 https://www.${domain}"; + }; "${fscusat}" = { forceSSL = true; enableACME = true; |