From d8cfc290ae8a161ccd8c07bc1b9895f838558a15 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 24 Feb 2023 20:22:43 +0000 Subject: Add local changes from nginx --- host/Rory-nginx/configuration.nix | 2 ++ host/Rory-nginx/hosts/rory.boo/tunnel.nix | 4 ++-- host/Rory-nginx/hosts/rory.gay/root.nix | 7 +++++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 host/Rory-nginx/hosts/rory.gay/root.nix 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;''; +} -- cgit 1.4.1