summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--host/Rory-nginx/configuration.nix22
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/awooradio.nix10
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/bots.nix7
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/git.nix7
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/http.nix8
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/lfs.nix8
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/root.nix11
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/search.nix8
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/sentry.nix7
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/siliconheaven.nix8
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/spigotav.nix8
-rw-r--r--host/Rory-nginx/hosts/thearcanebrony.net/terra.nix8
12 files changed, 101 insertions, 11 deletions
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix
index 11743ce..85f47c5 100644
--- a/host/Rory-nginx/configuration.nix
+++ b/host/Rory-nginx/configuration.nix
@@ -27,19 +27,19 @@
       recommendedProxySettings = true;
       recommendedTlsSettings = true;
       virtualHosts = {
-        #"siliconheaven.thearcanebrony.net" = import ./hosts/thearcanebrony.net/siliconheaven.nix;
-        #"lfs.thearcanebrony.net" = import ./hosts/thearcanebrony.net/lfs.nix;
-        #"http.thearcanebrony.net" = import ./hosts/thearcanebrony.net/http.nix;
-        #"thearcanebrony.net" = import ./hosts/thearcanebrony.net/root.nix;
-        #"sentry.thearcanebrony.net" = import ./hosts/thearcanebrony.net/sentry.nix;
-        #"awooradio.thearcanebrony.net" = import ./hosts/thearcanebrony.net/awooradio.nix;
-        #"search.thearcanebrony.net" = import ./hosts/thearcanebrony.net/search.nix;
-        #"git.thearcanebrony.net" = import ./hosts/thearcanebrony.net/git.nix;
+        "siliconheaven.thearcanebrony.net" = import ./hosts/thearcanebrony.net/siliconheaven.nix;
+        "lfs.thearcanebrony.net" = import ./hosts/thearcanebrony.net/lfs.nix;
+        "http.thearcanebrony.net" = import ./hosts/thearcanebrony.net/http.nix;
+        "thearcanebrony.net" = import ./hosts/thearcanebrony.net/root.nix;
+        "sentry.thearcanebrony.net" = import ./hosts/thearcanebrony.net/sentry.nix;
+        "awooradio.thearcanebrony.net" = import ./hosts/thearcanebrony.net/awooradio.nix;
+        "search.thearcanebrony.net" = import ./hosts/thearcanebrony.net/search.nix;
+        "git.thearcanebrony.net" = import ./hosts/thearcanebrony.net/git.nix;
         "files.thearcanebrony.net" = import ./hosts/thearcanebrony.net/files.nix;
-        #"spigotav.thearcanebrony.net" = import ./hosts/thearcanebrony.net/spigotav.nix;
-        #"terra.thearcanebrony.net" = import ./hosts/thearcanebrony.net/terra.nix;
+        "spigotav.thearcanebrony.net" = import ./hosts/thearcanebrony.net/spigotav.nix;
+        "terra.thearcanebrony.net" = import ./hosts/thearcanebrony.net/terra.nix;
         "vives.thearcanebrony.net" = import ./hosts/thearcanebrony.net/vives.nix;
-        #"bots.thearcanebrony.net" = import ./hosts/thearcanebrony.net/bots.nix;
+        "*.bots.thearcanebrony.net" = import ./hosts/thearcanebrony.net/bots.nix;
         "lfs.rory.gay" = import ./hosts/rory.gay/lfs.nix;
         "tunnel.rory.boo" = import ./hosts/rory.boo/tunnel.nix;
         "boorunav.com" = import ./hosts/boorunav.com/root.nix;
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/awooradio.nix b/host/Rory-nginx/hosts/thearcanebrony.net/awooradio.nix
index e69de29..349322f 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/awooradio.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/awooradio.nix
@@ -0,0 +1,10 @@
+{
+  locations = {
+    "/" = {
+      extraConfig = ''
+        rewrite ^/api/(.*) /$1 break;
+        return 200 $request_uri;'';
+      proxyPass = "http://localhost:4998";
+    };
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/bots.nix b/host/Rory-nginx/hosts/thearcanebrony.net/bots.nix
index e69de29..07a1782 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/bots.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/bots.nix
@@ -0,0 +1,7 @@
+{
+  locations = {
+    "/" = {
+      proxyPass = "http://192.168.1.50:5033";
+    };
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/git.nix b/host/Rory-nginx/hosts/thearcanebrony.net/git.nix
index e69de29..e2beedf 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/git.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/git.nix
@@ -0,0 +1,7 @@
+{
+  root = "/data/nginx/html_git";
+  locations = {
+    "/" = {
+    };
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/http.nix b/host/Rory-nginx/hosts/thearcanebrony.net/http.nix
index e69de29..cdfe535 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/http.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/http.nix
@@ -0,0 +1,8 @@
+{
+  root = "/data/nginx/html_sugarcanemc";
+  locations = {
+    "/" = {
+      index = "index.html";
+    };
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/lfs.nix b/host/Rory-nginx/hosts/thearcanebrony.net/lfs.nix
index e69de29..e406519 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/lfs.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/lfs.nix
@@ -0,0 +1,8 @@
+{
+  root = "/data/nginx/html_lfs";
+  locations = {
+    "/" = {
+      index = "index.html";
+    };
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/root.nix b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
index e69de29..224d5a6 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
@@ -0,0 +1,11 @@
+{
+  root = "/data/nginx/html_thearcanebrony";
+  locations = {
+    "/" = {
+      index = "index.html";
+    };
+    "/destroy" = {
+      return = "301 https://gitlab.com/KinoshitaProductions/SecureDestroyer/-/raw/master/run";
+    }
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/search.nix b/host/Rory-nginx/hosts/thearcanebrony.net/search.nix
index e69de29..4bacdaa 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/search.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/search.nix
@@ -0,0 +1,8 @@
+{
+  locations = {
+    "/" = {
+      extraConfig = ''
+      rewrite ^ https://thearcanebrony.net/unavailable.html break;'';
+    };
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/sentry.nix b/host/Rory-nginx/hosts/thearcanebrony.net/sentry.nix
index e69de29..7eaa87d 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/sentry.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/sentry.nix
@@ -0,0 +1,7 @@
+{
+  locations = {
+    "/" = {
+      proxyPass = "http://192.168.1.4:9000";
+    };
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/siliconheaven.nix b/host/Rory-nginx/hosts/thearcanebrony.net/siliconheaven.nix
index e69de29..6229ea2 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/siliconheaven.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/siliconheaven.nix
@@ -0,0 +1,8 @@
+{
+  root = "/data/nginx/html_siliconheaven";
+  locations = {
+    "/" = {
+      index = "index.html";
+    };
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/spigotav.nix b/host/Rory-nginx/hosts/thearcanebrony.net/spigotav.nix
index e69de29..39b3606 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/spigotav.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/spigotav.nix
@@ -0,0 +1,8 @@
+{
+  root = "/data/nginx/html_spigotav";
+  locations = {
+    "/" = {
+      index = "index.html";
+    };
+  };
+}
\ No newline at end of file
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/terra.nix b/host/Rory-nginx/hosts/thearcanebrony.net/terra.nix
index e69de29..a6d7aa5 100644
--- a/host/Rory-nginx/hosts/thearcanebrony.net/terra.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/terra.nix
@@ -0,0 +1,8 @@
+{
+  root = "/data/nginx/html_terrarchive";
+  locations = {
+    "/" = {
+      index = "index.html";
+    };
+  };
+}
\ No newline at end of file