diff options
author | Emile <git@emile.space> | 2024-07-21 17:41:03 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-07-21 17:41:03 +0200 |
commit | bf4cc39971f094eceb6ab3b190887ad0de7458ac (patch) | |
tree | 5dc34b7ec78eb7434e349d89f34441e5320bf4cd /nix/hosts/corrino/www/tmp.emile.space.nix | |
parent | b1140ee81828a97a3bdcb098ae88c5ad33c2e93e (diff) |
r2wars parking page
Diffstat (limited to 'nix/hosts/corrino/www/tmp.emile.space.nix')
-rw-r--r-- | nix/hosts/corrino/www/tmp.emile.space.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nix/hosts/corrino/www/tmp.emile.space.nix b/nix/hosts/corrino/www/tmp.emile.space.nix new file mode 100644 index 0000000..eeb7f8b --- /dev/null +++ b/nix/hosts/corrino/www/tmp.emile.space.nix @@ -0,0 +1,17 @@ +{ + services.nginx.virtualHosts."tmp.emile.space" = { + forceSSL = true; + enableACME = true; + serverName = "tmp.emile.space"; + + locations = { + "/" = { + root = "/var/www/tmp.emile.space"; + extraConfig = '' + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; + autoindex on; + ''; + }; + }; + }; +} |