summaryrefslogtreecommitdiffstats
path: root/tv/2configs/nginx/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-12-23 11:09:36 +0100
committertv <tv@krebsco.de>2016-12-23 11:09:36 +0100
commitc208b3fa19fc161f44c52433a4e266daade4ce53 (patch)
tree93d5b712b25b9d2a77503f01cb08348880379cbb /tv/2configs/nginx/default.nix
parent563c7a7eafb273bdeed6f209cea66618cb8ac127 (diff)
tv nginx: enable recommendations
Diffstat (limited to 'tv/2configs/nginx/default.nix')
-rw-r--r--tv/2configs/nginx/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tv/2configs/nginx/default.nix b/tv/2configs/nginx/default.nix
index 0e6c2df0e..b0acb9435 100644
--- a/tv/2configs/nginx/default.nix
+++ b/tv/2configs/nginx/default.nix
@@ -4,6 +4,10 @@ with import <stockholm/lib>;
{
services.nginx = {
+ recommendedGzipSettings = true;
+ recommendedOptimisation = true;
+ recommendedTlsSettings = true;
+
virtualHosts._http = {
default = true;
extraConfig = ''