From 60c798ad30288bd4e0d117b02a50b98c549ea56e Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 16 Feb 2023 19:53:17 +0000 Subject: Add git subdomain --- host/Rory-nginx/configuration.nix | 4 ++++ host/Rory-nginx/hosts/rory.gay/git.nix | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100755 host/Rory-nginx/hosts/rory.gay/git.nix (limited to 'host') 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;''; +} -- cgit 1.5.1