blob: 395c4ddef5ea93da400ffc03825fe5ddac3677e8 (
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;
'';
};
};
};
}
|