From cd9b58da9e6b31bf780688b2a162f4c3f28ba4c2 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Fri, 29 Nov 2013 14:26:31 +0100 Subject: Nginx: Cosmetic change Match against /download/ before matching against /attachments/. 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 { # # Downloads and attachments. # - location ^~ /attachments/ { - root /home/plugins/web; - } location ^~ /download/ { root /home/plugins/web; fancyindex on; fancyindex_exact_size off; fancyindex_css_href /resources/plugins.css; } + location ^~ /attachments/ { + root /home/plugins/web; + } # # Mailman and cgit. -- cgit v0.10-9-g596f