summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-11-29 13:26:31 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-11-29 13:26:31 (GMT)
commitcd9b58da9e6b31bf780688b2a162f4c3f28ba4c2 (patch)
tree5c7a78375e02c4cd1951743aa336552a7d8364b1 /etc
parent5d9cab52007f66b7b5cc5924305f81eb5924650b (diff)
downloadsite-cd9b58da9e6b31bf780688b2a162f4c3f28ba4c2.tar.gz
Nginx: Cosmetic change
Match against /download/ before matching against /attachments/.
Diffstat (limited to 'etc')
-rw-r--r--etc/nginx.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/nginx.conf b/etc/nginx.conf
index e0b6bf4..ba24971 100644
--- a/etc/nginx.conf
+++ b/etc/nginx.conf
@@ -23,15 +23,15 @@ server {
23 # 23 #
24 # Downloads and attachments. 24 # Downloads and attachments.
25 # 25 #
26 location ^~ /attachments/ {
27 root /home/plugins/web;
28 }
29 location ^~ /download/ { 26 location ^~ /download/ {
30 root /home/plugins/web; 27 root /home/plugins/web;
31 fancyindex on; 28 fancyindex on;
32 fancyindex_exact_size off; 29 fancyindex_exact_size off;
33 fancyindex_css_href /resources/plugins.css; 30 fancyindex_css_href /resources/plugins.css;
34 } 31 }
32 location ^~ /attachments/ {
33 root /home/plugins/web;
34 }
35 35
36 # 36 #
37 # Mailman and cgit. 37 # Mailman and cgit.