From f034bb62f75349dac7939dcab6bfe163684546c3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 2 Dec 2024 22:33:08 +0000 Subject: [PATCH] Add luke.oliverdavies.uk --- nix/hosts/hetznix/modules/acme.nix | 1 + nix/hosts/hetznix/modules/nginx/default.nix | 1 + .../modules/nginx/vhosts/luke.oliverdavies.uk.nix | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 nix/hosts/hetznix/modules/nginx/vhosts/luke.oliverdavies.uk.nix diff --git a/nix/hosts/hetznix/modules/acme.nix b/nix/hosts/hetznix/modules/acme.nix index 84af43f..742e26a 100644 --- a/nix/hosts/hetznix/modules/acme.nix +++ b/nix/hosts/hetznix/modules/acme.nix @@ -10,6 +10,7 @@ "2020.oliverdavies.uk" "bootstrap-with-tailwind.oliverdavies.uk" "florida-drupalcamp-tailwind-css.oliverdavies.uk" + "luke.oliverdavies.uk" "phpsw-sculpin-demo.oliverdavies.uk" "rebuilding-acquia.oliverdavies.uk" "rebuilding-bartik.oliverdavies.uk" diff --git a/nix/hosts/hetznix/modules/nginx/default.nix b/nix/hosts/hetznix/modules/nginx/default.nix index b4e7d11..f924ce9 100644 --- a/nix/hosts/hetznix/modules/nginx/default.nix +++ b/nix/hosts/hetznix/modules/nginx/default.nix @@ -8,6 +8,7 @@ ./vhosts/2020.oliverdavies.uk.nix ./vhosts/bootstrap-with-tailwind.oliverdavies.uk.nix ./vhosts/florida-drupalcamp-tailwind-css.oliverdavies.uk.nix + ./vhosts/luke.oliverdavies.uk.nix ./vhosts/phpsw-sculpin-demo.oliverdavies.uk.nix ./vhosts/rebuilding-acquia.oliverdavies.uk.nix ./vhosts/rebuilding-bartik.oliverdavies.uk.nix diff --git a/nix/hosts/hetznix/modules/nginx/vhosts/luke.oliverdavies.uk.nix b/nix/hosts/hetznix/modules/nginx/vhosts/luke.oliverdavies.uk.nix new file mode 100644 index 0000000..88c14d8 --- /dev/null +++ b/nix/hosts/hetznix/modules/nginx/vhosts/luke.oliverdavies.uk.nix @@ -0,0 +1,11 @@ +{ + services.nginx.virtualHosts."luke.oliverdavies.uk" = { + useACMEHost = "oliverdavies.uk"; + forceSSL = true; + root = "/var/www/vhosts/luke.oliverdavies.uk"; + + extraConfig = '' + add_header X-Robots-Tag "noindex, nofollow"; + ''; + }; +}