From 1efdaec01bcc4d4453c5ba2f18bc4cd95dac97ef Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sun, 12 Feb 2023 00:02:23 +0100 Subject: Add rest of domains Signed-off-by: TheArcaneBrony --- host/Rory-nginx/configuration.nix | 22 +++++++++++----------- .../hosts/thearcanebrony.net/awooradio.nix | 10 ++++++++++ host/Rory-nginx/hosts/thearcanebrony.net/bots.nix | 7 +++++++ host/Rory-nginx/hosts/thearcanebrony.net/git.nix | 7 +++++++ host/Rory-nginx/hosts/thearcanebrony.net/http.nix | 8 ++++++++ host/Rory-nginx/hosts/thearcanebrony.net/lfs.nix | 8 ++++++++ host/Rory-nginx/hosts/thearcanebrony.net/root.nix | 11 +++++++++++ .../Rory-nginx/hosts/thearcanebrony.net/search.nix | 8 ++++++++ .../Rory-nginx/hosts/thearcanebrony.net/sentry.nix | 7 +++++++ .../hosts/thearcanebrony.net/siliconheaven.nix | 8 ++++++++ .../hosts/thearcanebrony.net/spigotav.nix | 8 ++++++++ host/Rory-nginx/hosts/thearcanebrony.net/terra.nix | 8 ++++++++ 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 -- cgit 1.4.1