Add tome.oliverdavies.uk

This commit is contained in:
Oliver Davies 2024-11-29 16:27:39 +00:00
parent 8454dbe891
commit eef952c8c0
3 changed files with 20 additions and 0 deletions

View file

@ -17,6 +17,7 @@
"rebuilding-symfony.oliverdavies.uk" "rebuilding-symfony.oliverdavies.uk"
"tailwindcss-demo.oliverdavies.uk" "tailwindcss-demo.oliverdavies.uk"
"talking-drupal-tailwindcss.oliverdavies.uk" "talking-drupal-tailwindcss.oliverdavies.uk"
"tome.oliverdavies.uk"
"wp-tailwind.oliverdavies.uk" "wp-tailwind.oliverdavies.uk"
"www.oliverdavies.uk" "www.oliverdavies.uk"
"zet.oliverdavies.uk" "zet.oliverdavies.uk"

View file

@ -15,6 +15,7 @@
./vhosts/rebuilding-symfony.oliverdavies.uk.nix ./vhosts/rebuilding-symfony.oliverdavies.uk.nix
./vhosts/tailwindcss-demo.oliverdavies.uk.nix ./vhosts/tailwindcss-demo.oliverdavies.uk.nix
./vhosts/talking-drupal-tailwindcss.oliverdavies.uk.nix ./vhosts/talking-drupal-tailwindcss.oliverdavies.uk.nix
./vhosts/tome.oliverdavies.uk.nix
./vhosts/wp-tailwind.oliverdavies.uk.nix ./vhosts/wp-tailwind.oliverdavies.uk.nix
./vhosts/www.oliverdavies.uk.nix ./vhosts/www.oliverdavies.uk.nix
./vhosts/zet.oliverdavies.uk.nix ./vhosts/zet.oliverdavies.uk.nix

View file

@ -0,0 +1,18 @@
{
services.nginx.virtualHosts."tome.oliverdavies.uk" = {
useACMEHost = "oliverdavies.uk";
forceSSL = true;
root = "/var/www/vhosts/www.oliverdavies.uk-drupal";
locations."/" = {
tryFiles = "$uri $uri/ $uri.html $uri/index.html =404";
extraConfig = ''
rewrite ^/(.*[^/])/$ /$1 permanent;
'';
};
extraConfig = ''
add_header X-Robots-Tag "noindex, nofollow";
'';
};
}