summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/nginx')
-rw-r--r--makefu/2configs/nginx/euer.wiki.nix9
-rw-r--r--makefu/2configs/nginx/misa-felix-hochzeit.ml.nix3
2 files changed, 2 insertions, 10 deletions
diff --git a/makefu/2configs/nginx/euer.wiki.nix b/makefu/2configs/nginx/euer.wiki.nix
index 280622259..732c27784 100644
--- a/makefu/2configs/nginx/euer.wiki.nix
+++ b/makefu/2configs/nginx/euer.wiki.nix
@@ -75,6 +75,7 @@ in {
services.nginx = {
enable = mkDefault true;
+ recommendedGzipSettings = true;
virtualHosts = {
"${ext-dom}" = {
#serverAliases = [
@@ -83,14 +84,6 @@ in {
#];
forceSSL = true;
enableACME = true;
- # recommendedGzipSettings = true;
- extraConfig = ''
- gzip on;
- gzip_buffers 4 32k;
- gzip_types text/plain application/x-javascript text/css;
- default_type text/plain;
-
- '';
locations = {
"/" = {
root = wiki-dir;
diff --git a/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix b/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix
index 752612342..d54deeea2 100644
--- a/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix
+++ b/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix
@@ -2,8 +2,7 @@
{
services.nginx = {
enable = lib.mkDefault true;
- virtualHosts."misa-felix-hochzeit.ml" = {
- serverAliases = [ "misa-felix.ml" "www.misa-felix.ml" ];
+ virtualHosts."misa-felix.ml" = {
forceSSL = true;
enableACME = true;
locations = {