summary refs log tree commit diff
path: root/host/Rory-nginx/hosts
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-02-11 23:29:12 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-02-11 23:29:12 +0100
commitf999d9a167cf2398b5bc065644d01b0c9f0c60eb (patch)
tree822774bd2fe260597648609545bd60d9d1dad9cd /host/Rory-nginx/hosts
parentAdd some base domains (diff)
downloadRory-Open-Architecture-f999d9a167cf2398b5bc065644d01b0c9f0c60eb.tar.xz
Add tunnel
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to '')
-rw-r--r--host/Rory-nginx/hosts/rory.boo/tunnel.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/host/Rory-nginx/hosts/rory.boo/tunnel.nix b/host/Rory-nginx/hosts/rory.boo/tunnel.nix
index e69de29..db81075 100644
--- a/host/Rory-nginx/hosts/rory.boo/tunnel.nix
+++ b/host/Rory-nginx/hosts/rory.boo/tunnel.nix
@@ -0,0 +1,12 @@
+{
+  locations = {
+    "/" = {
+      proxyPass = "http://127.0.0.1:12345";
+      proxyWebsockets = true;
+      extraConfig =
+        "proxy_ssl_server_name on;" +
+        "proxy_pass_header Authorization;"
+        ;
+    };
+  };
+}
\ No newline at end of file