diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-02-11 23:17:34 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-02-11 23:17:34 +0100 |
commit | 7bd42b19ff7d940711776163d51d49ffd2e08e65 (patch) | |
tree | 2fcd140069e52829cdbfd471129819d1177b3a8e /host/Rory-nginx | |
parent | Check your braces, girl (diff) | |
download | Rory-Open-Architecture-7bd42b19ff7d940711776163d51d49ffd2e08e65.tar.xz |
nginx test
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'host/Rory-nginx')
19 files changed, 62 insertions, 0 deletions
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix new file mode 100644 index 0000000..38d50e2 --- /dev/null +++ b/host/Rory-nginx/configuration.nix @@ -0,0 +1,54 @@ +{ config, pkgs, lib, ... }: + +{ + imports = + [ + ../../modules/base-server.nix + ]; + + networking = { + hostName = "Rory-nginx"; + networkmanager.enable = false; + wireless.enable = false; + + firewall = { + enable = false; + }; + interfaces.ens18.ipv4.addresses = [ { + address = "192.168.1.55"; + prefixLength = 24; + } ]; + }; + + services = { + nginx = { + enable = true; + package = pkgs.nginxQuic; + virtualHosts = { + #"siliconheaven.thearcanebrony.net" = import ./hosts/thearcanebrony.net/siliconheaven.conf; + #"lfs.thearcanebrony.net" = import ./hosts/thearcanebrony.net/lfs.conf; + #"http.thearcanebrony.net" = import ./hosts/thearcanebrony.net/http.conf; + #"thearcanebrony.net" = import ./hosts/thearcanebrony.net/root.conf; + #"sentry.thearcanebrony.net" = import ./hosts/thearcanebrony.net/sentry.conf; + #"awooradio.thearcanebrony.net" = import ./hosts/thearcanebrony.net/awooradio.conf; + #"search.thearcanebrony.net" = import ./hosts/thearcanebrony.net/search.conf; + #"git.thearcanebrony.net" = import ./hosts/thearcanebrony.net/git.conf; + #"files.thearcanebrony.net" = import ./hosts/thearcanebrony.net/files.conf; + #"spigotav.thearcanebrony.net" = import ./hosts/thearcanebrony.net/spigotav.conf; + #"terra.thearcanebrony.net" = import ./hosts/thearcanebrony.net/terra.conf; + "vives.thearcanebrony.net" = import ./hosts/thearcanebrony.net/vives.conf; + #"bots.thearcanebrony.net" = import ./hosts/thearcanebrony.net/bots.conf; + #"lfs.rory.gay" = import ./hosts/rory.gay/lfs.conf; + #"tunnel.rory.boo" = import ./hosts/rory.boo/tunnel.conf; + #"boorunav.com" = import ./hosts/boorunav.com/root.conf; + #"catgirlsaresexy.com" = import ./hosts/catgirlsaresexy.com/root.conf; + #"sugarcanemc.org" = import ./hosts/sugarcanemc.org/root.conf; + }; + }; + }; + + sound.enable = false; + hardware.pulseaudio.enable = false; + + system.stateVersion = "22.11"; # DO NOT EDIT! +} \ No newline at end of file diff --git a/host/Rory-nginx/hosts/boorunav.com/root.nix b/host/Rory-nginx/hosts/boorunav.com/root.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/boorunav.com/root.nix diff --git a/host/Rory-nginx/hosts/catgirlsaresexy.com/root.nix b/host/Rory-nginx/hosts/catgirlsaresexy.com/root.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/catgirlsaresexy.com/root.nix diff --git a/host/Rory-nginx/hosts/rory.boo/tunnel.nix b/host/Rory-nginx/hosts/rory.boo/tunnel.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/rory.boo/tunnel.nix diff --git a/host/Rory-nginx/hosts/rory.gay/lfs.nix b/host/Rory-nginx/hosts/rory.gay/lfs.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/rory.gay/lfs.nix diff --git a/host/Rory-nginx/hosts/sugarcanemc.org/root.nix b/host/Rory-nginx/hosts/sugarcanemc.org/root.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/sugarcanemc.org/root.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/awooradio.nix b/host/Rory-nginx/hosts/thearcanebrony.net/awooradio.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/awooradio.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/bots.nix b/host/Rory-nginx/hosts/thearcanebrony.net/bots.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/bots.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/files.nix b/host/Rory-nginx/hosts/thearcanebrony.net/files.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/files.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/git.nix b/host/Rory-nginx/hosts/thearcanebrony.net/git.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/git.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/http.nix b/host/Rory-nginx/hosts/thearcanebrony.net/http.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/http.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/lfs.nix b/host/Rory-nginx/hosts/thearcanebrony.net/lfs.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/lfs.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/root.nix b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/search.nix b/host/Rory-nginx/hosts/thearcanebrony.net/search.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/search.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/sentry.nix b/host/Rory-nginx/hosts/thearcanebrony.net/sentry.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/sentry.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/siliconheaven.nix b/host/Rory-nginx/hosts/thearcanebrony.net/siliconheaven.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/siliconheaven.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/spigotav.nix b/host/Rory-nginx/hosts/thearcanebrony.net/spigotav.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/spigotav.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/terra.nix b/host/Rory-nginx/hosts/thearcanebrony.net/terra.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/terra.nix diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/vives.nix b/host/Rory-nginx/hosts/thearcanebrony.net/vives.nix new file mode 100644 index 0000000..c853d2b --- /dev/null +++ b/host/Rory-nginx/hosts/thearcanebrony.net/vives.nix @@ -0,0 +1,8 @@ +{ + root = "/var/www/html_vives"; + locations = { + "/" = { + index = "index.html"; + }; + }; +} \ No newline at end of file |