blob: eeb7f8bf9ba7fffcc767c3fb2ac3cd97316af8c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
'';
};
};
};
}
|