summary refs log tree commit diff
path: root/host/Rory-nginx
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-02-24 20:22:43 +0000
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-02-24 20:22:43 +0000
commitd8cfc290ae8a161ccd8c07bc1b9895f838558a15 (patch)
treef4019d42576f8d8a888d02c2fd7e1f7c66643c9c /host/Rory-nginx
parentCleanup (diff)
downloadRory-Open-Architecture-d8cfc290ae8a161ccd8c07bc1b9895f838558a15.tar.xz
Add local changes from nginx
Diffstat (limited to 'host/Rory-nginx')
-rwxr-xr-xhost/Rory-nginx/configuration.nix2
-rwxr-xr-xhost/Rory-nginx/hosts/rory.boo/tunnel.nix4
-rwxr-xr-xhost/Rory-nginx/hosts/rory.gay/root.nix7
3 files changed, 11 insertions, 2 deletions
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix
index 5d3347c..1b557df 100755
--- a/host/Rory-nginx/configuration.nix
+++ b/host/Rory-nginx/configuration.nix
@@ -33,6 +33,8 @@
         "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;
+        "rory.gay" = import ./hosts/rory.gay/root.nix;
+        "rory.boo" = import ./hosts/rory.gay/root.nix;
         "lfs.rory.gay" = import ./hosts/rory.gay/lfs.nix;
         "git.rory.gay" = import ./hosts/rory.gay/git.nix;
         "tunnel.rory.boo" = import ./hosts/rory.boo/tunnel.nix;
diff --git a/host/Rory-nginx/hosts/rory.boo/tunnel.nix b/host/Rory-nginx/hosts/rory.boo/tunnel.nix
index 58ab05f..b50823b 100755
--- a/host/Rory-nginx/hosts/rory.boo/tunnel.nix
+++ b/host/Rory-nginx/hosts/rory.boo/tunnel.nix
@@ -3,7 +3,7 @@
   addSSL = true;
   locations = {
     "/" = {
-      proxyPass = "http://127.0.0.1:12345";
+      proxyPass = "http://127.0.0.1:5173";
       proxyWebsockets = true;
       extraConfig =
         "proxy_ssl_server_name on;" +
@@ -11,4 +11,4 @@
         ;
     };
   };
-}
\ No newline at end of file
+}
diff --git a/host/Rory-nginx/hosts/rory.gay/root.nix b/host/Rory-nginx/hosts/rory.gay/root.nix
new file mode 100755
index 0000000..4307cf4
--- /dev/null
+++ b/host/Rory-nginx/hosts/rory.gay/root.nix
@@ -0,0 +1,7 @@
+{
+  root = "/data/nginx/html_rory_gay";
+  enableACME = true;
+  addSSL = true;
+  extraConfig = ''
+    autoindex on;'';
+}