Initial Hetzner server and vhost configuration
This commit is contained in:
parent
d693e16796
commit
8fd5c6b969
6 changed files with 174 additions and 0 deletions
10
nix/hosts/hetznix/modules/2020.oliverdavies.uk.nix
Normal file
10
nix/hosts/hetznix/modules/2020.oliverdavies.uk.nix
Normal 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";
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue