diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-01-03 07:48:59 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-01-03 07:48:59 +0530 |
commit | 5b5ba9f3cafaac9d8c98adfee8003822dc090159 (patch) | |
tree | d25ad6e3f8c5606bcd205d109c8ad408a9d3ca54 /hosts/kay/modules | |
parent | 880ca20d73086666760e7416b6871e941d2c5bd3 (diff) |
kay/www/bin: init
Diffstat (limited to 'hosts/kay/modules')
-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; |