Initial Hetzner server and vhost configuration

This commit is contained in:
Oliver Davies 2024-11-28 00:56:19 +00:00
parent d693e16796
commit 8fd5c6b969
6 changed files with 174 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{
services.nginx.virtualHosts."2020.oliverdavies.uk" = {
enableACME = true;
forceSSL = true;
root = "/var/www/vhosts/2020.oliverdavies.uk";
extraConfig = ''
add_header X-Robots-Tag "noindex, nofollow";
'';
};
}