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-24 06:52:34 +0100
commitbece7d9da29adde2c79e49c40d975dc46eed4c1e (patch)
tree49902f025625f1ee1a079e6f5238a31e14ed9c1d /tv/2configs/nginx/default.nix
parent7efec736b299d1c0235d2c12064b3afc1e5e13ff (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 = ''