diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-12-28 23:46:43 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-12-28 23:46:43 (GMT) |
commit | afa0bce412f50e2b2ea379c2e8376d6d0d623b22 (patch) | |
tree | ffe27f23eb754c27c0e429e42c4fa8047e1b0234 /etc | |
parent | 049ef89f61d90b253c7dfdddde830054c385b78a (diff) | |
download | site-afa0bce412f50e2b2ea379c2e8376d6d0d623b22.tar.gz |
Hide the /download/timestamp file
The timestamp file is used for checking mirrors and should be hidden
from the user. (By the way: The Fancy Index module would hide dot files
automatically, but some FTP servers don't serve them.)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nginx.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/nginx.conf b/etc/nginx.conf index 25eda96..9028c25 100644 --- a/etc/nginx.conf +++ b/etc/nginx.conf | |||
@@ -32,6 +32,7 @@ server { | |||
32 | fancyindex on; | 32 | fancyindex on; |
33 | fancyindex_exact_size off; | 33 | fancyindex_exact_size off; |
34 | fancyindex_css_href /resources/plugins.css; | 34 | fancyindex_css_href /resources/plugins.css; |
35 | fancyindex_ignore ^timestamp$; | ||
35 | } | 36 | } |
36 | location ^~ /attachments/ { | 37 | location ^~ /attachments/ { |
37 | root /home/plugins/web; | 38 | root /home/plugins/web; |