about summary refs log tree commit diff
path: root/ops/nixos/www/base.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/www/base.nix')
-rw-r--r--ops/nixos/www/base.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/ops/nixos/www/base.nix b/ops/nixos/www/base.nix
new file mode 100644
index 000000000000..a15db6bb8a32
--- /dev/null
+++ b/ops/nixos/www/base.nix
@@ -0,0 +1,14 @@
+{ config, ... }:
+
+{
+  config = {
+    services.nginx = {
+      enable = true;
+      enableReload = true;
+
+      recommendedTlsSettings = true;
+      recommendedGzipSettings = true;
+      recommendedProxySettings = true;
+    };
+  };
+}