Add tome.oliverdavies.uk
This commit is contained in:
parent
8454dbe891
commit
eef952c8c0
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue