Add tor subdomain
This commit is contained in:
parent
767d6c9a51
commit
76edda7833
|
@ -77,6 +77,21 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"tor.graven.dev" = {
|
||||||
|
forceSSL = true;
|
||||||
|
useACMEHost = "graven.dev";
|
||||||
|
locations."/" = {
|
||||||
|
root = "/var/www/tor";
|
||||||
|
extraConfig = ''
|
||||||
|
add_header Access-Control-Allow-Origin "*";
|
||||||
|
add_header Strict-Transport-Security $hsts_header;
|
||||||
|
add_header Referrer-Policy "same-origin";
|
||||||
|
add_header X-Frame-Options "DENY";
|
||||||
|
add_header X-Content-Type-Options "nosniff";
|
||||||
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
"mta-sts.graven.dev" = {
|
"mta-sts.graven.dev" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
Loading…
Reference in a new issue