about summary refs log tree commit diff
path: root/ops/modules/www
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-28T20·12+0300
committerclbot <clbot@tvl.fyi>2024-02-28T20·34+0000
commita9f84918916ff722840173486c0ca37e71ef94a1 (patch)
tree72d5f94882ef6facd379c8d9a691c70aec465528 /ops/modules/www
parentf3412a9e32d2fa42cc2b6407dc1b2fad66f07794 (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/modules/www')
-rw-r--r--ops/modules/www/volgasprint.org.nix15
1 files changed, 15 insertions, 0 deletions
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}";
+    };
+  };
+}