about summary refs log tree commit diff
path: root/nix/hosts/corrino/www/r2wa.rs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/hosts/corrino/www/r2wa.rs.nix')
-rw-r--r--nix/hosts/corrino/www/r2wa.rs.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/nix/hosts/corrino/www/r2wa.rs.nix b/nix/hosts/corrino/www/r2wa.rs.nix
new file mode 100644
index 0000000..f7a0a7e
--- /dev/null
+++ b/nix/hosts/corrino/www/r2wa.rs.nix
@@ -0,0 +1,16 @@
+{ ... }:
+
+{
+  services.nginx.virtualHosts."r2wa.rs" = {
+    forceSSL = true;
+    enableACME = true;
+
+    # kTLS = true;
+
+    locations = {
+      "/" = {
+				return = "301 http://emile.space/blog/2020/r2wars/";
+      };
+		};
+	};
+}