diff options
author | lassulus <lass@aidsballs.de> | 2016-04-13 16:34:02 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-04-13 16:34:02 +0200 |
commit | 6a009982af81f6591ee026c7f866008a17d4d8f8 (patch) | |
tree | abb34855c1b50ca8132ed7f0ae192ca20e922dc1 | |
parent | c9c10168082f648b2d5c25355f55ab4dce885135 (diff) |
l 4: also serve dotfiles in serveWordpress
-rw-r--r-- | lass/4lib/default.nix | 6 |
1 files 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; |