diff options
-rw-r--r-- | etc/nginx.conf | 6 |
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. |