From 6a009982af81f6591ee026c7f866008a17d4d8f8 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 13 Apr 2016 16:34:02 +0200 Subject: [PATCH] l 4: also serve dotfiles in serveWordpress --- lass/4lib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lass/4lib/default.nix b/lass/4lib/default.nix index 7949154a0..30cbced49 100644 --- a/lass/4lib/default.nix +++ b/lass/4lib/default.nix @@ -199,9 +199,9 @@ rec { fastcgi_pass unix:/srv/http/${domain}/phpfpm.pool; include ${pkgs.nginx}/conf/fastcgi.conf; '') - (nameValuePair "~ /\\." '' - deny all; - '') + #(nameValuePair "~ /\\." '' + # deny all; + #'') #Directives to send expires headers and turn off 404 error logging. (nameValuePair "~* ^.+\.(xml|ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$" '' access_log off;