From b27d9e3c26bffc87d39caaefffdd55628c0dd079 Mon Sep 17 00:00:00 2001 From: Bill Ewanick Date: Sat, 8 Apr 2023 21:40:56 -0400 Subject: [PATCH] Add a couple more websites to the server --- nixos-apps/crueltysquad.com.nix | 13 +++++++++++++ nixos-apps/cutesealfanpage.love.nix | 13 +++++++++++++ server-config/configuration.nix | 4 +++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 nixos-apps/crueltysquad.com.nix create mode 100644 nixos-apps/cutesealfanpage.love.nix diff --git a/nixos-apps/crueltysquad.com.nix b/nixos-apps/crueltysquad.com.nix new file mode 100644 index 0000000..3667ed5 --- /dev/null +++ b/nixos-apps/crueltysquad.com.nix @@ -0,0 +1,13 @@ +{ + services.caddy = { + enable = true; + virtualHosts = { + "crueltysquad.com" = { + serverAliases = [ "www.crueltysquad.com" ]; + extraConfig = '' + redir https://store.steampowered.com/app/1388770/Cruelty_Squad/ + ''; + }; + }; + }; +} diff --git a/nixos-apps/cutesealfanpage.love.nix b/nixos-apps/cutesealfanpage.love.nix new file mode 100644 index 0000000..15df968 --- /dev/null +++ b/nixos-apps/cutesealfanpage.love.nix @@ -0,0 +1,13 @@ +{ + services.caddy = { + enable = true; + virtualHosts = { + "cutesealfanpage.love" = { + serverAliases = [ "www.cutesealfanpage.love" ]; + extraConfig = '' + respond "Hello seals! Coming soon!" + ''; + }; + }; + }; +} diff --git a/server-config/configuration.nix b/server-config/configuration.nix index 4b064a1..1c69a01 100644 --- a/server-config/configuration.nix +++ b/server-config/configuration.nix @@ -12,8 +12,10 @@ # Applications that run on this server ../nixos-apps/ewanick.com.nix - ../nixos-apps/fancytypist.com.nix ../nixos-apps/git.ewanick.com.nix + ../nixos-apps/crueltysquad.com.nix + ../nixos-apps/cutesealfanpage.love.nix + ../nixos-apps/fancytypist.com.nix ]; # Use the GRUB 2 boot loader.