summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-02-16 19:53:17 +0000
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-02-16 19:53:17 +0000
commit60c798ad30288bd4e0d117b02a50b98c549ea56e (patch)
tree3f16b1efe40b94f709595a82d45dbff5cd520816 /host
parentUpdate kernel (diff)
downloadRory-Open-Architecture-60c798ad30288bd4e0d117b02a50b98c549ea56e.tar.xz
Add git subdomain
Diffstat (limited to 'host')
-rwxr-xr-xhost/Rory-nginx/configuration.nix4
-rwxr-xr-xhost/Rory-nginx/hosts/rory.gay/git.nix7
2 files changed, 11 insertions, 0 deletions
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix

index 34d9db1..1fbafd5 100755 --- a/host/Rory-nginx/configuration.nix +++ b/host/Rory-nginx/configuration.nix
@@ -41,6 +41,7 @@ "vives.thearcanebrony.net" = import ./hosts/thearcanebrony.net/vives.nix; "*.bots.thearcanebrony.net" = import ./hosts/thearcanebrony.net/bots.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; "boorunav.com" = import ./hosts/boorunav.com/root.nix; "catgirlsaresexy.com" = import ./hosts/catgirlsaresexy.com/root.nix; @@ -48,6 +49,9 @@ }; }; }; + systemd.services.nginx.requires = [ "data.mount" ]; + security.acme.acceptTerms = true; + security.acme.defaults.email = "root@thearcanebrony.net"; sound.enable = false; hardware.pulseaudio.enable = false; diff --git a/host/Rory-nginx/hosts/rory.gay/git.nix b/host/Rory-nginx/hosts/rory.gay/git.nix new file mode 100755
index 0000000..56954e4 --- /dev/null +++ b/host/Rory-nginx/hosts/rory.gay/git.nix
@@ -0,0 +1,7 @@ +{ + root = "/data/nginx/html_git"; + enableACME = true; + addSSL = true; + extraConfig = '' + autoindex on;''; +}