From 65e8c7e0d79f2d63339d69dde7c1164fce7cd4df Mon Sep 17 00:00:00 2001 From: Junv Zhao Date: Wed, 30 Aug 2017 10:35:04 +0800 Subject: [PATCH] Update readme --- README.md | 6 +++--- aria2-ariang/conf.d/default.conf | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 935466e..75dcde5 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ * 查看文件h5ai: - * AriaNg: + * AriaNg: 注意地址后面一定要带`/` 哦,后面两种方案的也是一样 ### 使用 **Filerun** 作为在线文件管理器: ```bash git clone https://github.com/wahyd4/aria2-ariang-x-docker-compose.git @@ -76,7 +76,7 @@ * 文件管理Filerun, 请使用 `superuser / superuser` 进行登录: - * AriaNg: + * AriaNg: ### 使用 **Nextcloud** 安装 ```bash @@ -86,7 +86,7 @@ ``` * 文件管理Nextcloud: - * AriaNg: + * AriaNg: Nextcloud 还需额外的一点手动操作,[链接配置外部存储](https://github.com/wahyd4/aria2-ariang-x-docker-compose/tree/master/nextcloud#nextcloud-配置-external-storage) diff --git a/aria2-ariang/conf.d/default.conf b/aria2-ariang/conf.d/default.conf index a878b0c..1d7d89a 100644 --- a/aria2-ariang/conf.d/default.conf +++ b/aria2-ariang/conf.d/default.conf @@ -10,13 +10,14 @@ server{ client_max_body_size 10240M; } - location /aria2 { + location /aria2/ { # try_files $uri $uri/ /index.html; root /usr/local/www/; index index.html index.htm; proxy_set_header Host $http_host; } + # location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc|css|js|woff2)$ { # expires 24h; # access_log off;