summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/nginx.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/nginx.conf b/etc/nginx.conf
index ba24971..25eda96 100644
--- a/etc/nginx.conf
+++ b/etc/nginx.conf
@@ -24,6 +24,10 @@ server {
24 # Downloads and attachments. 24 # Downloads and attachments.
25 # 25 #
26 location ^~ /download/ { 26 location ^~ /download/ {
27 if ($args = $is_args) {
28 # Fancy Index: Sort by modification time (descending).
29 rewrite ^(.*/)$ $1?C=M&O=D last;
30 }
27 root /home/plugins/web; 31 root /home/plugins/web;
28 fancyindex on; 32 fancyindex on;
29 fancyindex_exact_size off; 33 fancyindex_exact_size off;