diff options
author | Vincent Ambo <tazjin@tvl.su> | 2024-02-28T20·12+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-02-28T20·34+0000 |
commit | a9f84918916ff722840173486c0ca37e71ef94a1 (patch) | |
tree | 72d5f94882ef6facd379c8d9a691c70aec465528 /ops | |
parent | f3412a9e32d2fa42cc2b6407dc1b2fad66f07794 (diff) |
feat(ops/sanduny): deploy volgasprint.org r/7622
Change-Id: I5058e78ee3d7c26f2abafedeb5c0fb9d55a4da6a Reviewed-on: https://cl.tvl.fyi/c/depot/+/11066 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: Mark Shevchenko <markshevchenko@gmail.com>
Diffstat (limited to 'ops')
-rw-r--r-- | ops/machines/sanduny/default.nix | 1 | ||||
-rw-r--r-- | ops/modules/www/volgasprint.org.nix | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/ops/machines/sanduny/default.nix b/ops/machines/sanduny/default.nix index ba14fbd32a60..af2dfb02a59b 100644 --- a/ops/machines/sanduny/default.nix +++ b/ops/machines/sanduny/default.nix @@ -24,6 +24,7 @@ in (mod "tvl-users.nix") (mod "www/inbox.tvl.su.nix") (mod "www/self-redirect.nix") + (mod "www/volgasprint.org.nix") ]; networking = { diff --git a/ops/modules/www/volgasprint.org.nix b/ops/modules/www/volgasprint.org.nix new file mode 100644 index 000000000000..7e5abe556127 --- /dev/null +++ b/ops/modules/www/volgasprint.org.nix @@ -0,0 +1,15 @@ +{ depot, ... }: + +{ + imports = [ + ./base.nix + ]; + + config = { + services.nginx.virtualHosts."volgasprint.org" = { + enableACME = true; + forceSSL = true; + root = "${depot.web.volgasprint}"; + }; + }; +} |