From afa0bce412f50e2b2ea379c2e8376d6d0d623b22 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 29 Dec 2013 00:46:43 +0100 Subject: 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.) 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 { fancyindex on; fancyindex_exact_size off; fancyindex_css_href /resources/plugins.css; + fancyindex_ignore ^timestamp$; } location ^~ /attachments/ { root /home/plugins/web; -- cgit v0.10-9-g596f