|
Link Here
|
|
|
1 |
--- ../fastdfs-nginx-module-5a8110f/src/mod_fastdfs.conf.orig 2017-09-05 14:19:44.560907000 +0200 |
| 2 |
+++ ../fastdfs-nginx-module-5a8110f/src/mod_fastdfs.conf 2017-09-05 14:24:43.475900000 +0200 |
| 3 |
@@ -59,8 +59,8 @@ |
| 4 |
# store_path#, based 0, if store_path0 not exists, it's value is base_path |
| 5 |
# the paths must be exist |
| 6 |
# must same as storage.conf |
| 7 |
-store_path0=/home/yuqing/fastdfs |
| 8 |
-#store_path1=/home/yuqing/fastdfs1 |
| 9 |
+store_path0=/var/db/fastdfs/storage |
| 10 |
+#store_path1=/var/db/fastdfs/storage2 |
| 11 |
|
| 12 |
# standard log level as syslog, case insensitive, value list: |
| 13 |
### emerg for emergency |
| 14 |
@@ -92,6 +92,14 @@ |
| 15 |
# NOTE: #include is an include directive, do NOT remove the # before include |
| 16 |
#include http.conf |
| 17 |
|
| 18 |
+# HTTP default content type |
| 19 |
+http.default_content_type = application/octet-stream |
| 20 |
+ |
| 21 |
+# MIME types mapping filename |
| 22 |
+# MIME types file format: MIME_type extensions |
| 23 |
+# such as: image/jpeg jpeg jpg jpe |
| 24 |
+# you can use apache's MIME file: mime.types |
| 25 |
+http.mime_types_filename=/usr/local/etc/nginx/mime.types |
| 26 |
|
| 27 |
# if support flv |
| 28 |
# default value is false |
| 29 |
@@ -119,8 +127,8 @@ |
| 30 |
#group_name=group1 |
| 31 |
#storage_server_port=23000 |
| 32 |
#store_path_count=2 |
| 33 |
-#store_path0=/home/yuqing/fastdfs |
| 34 |
-#store_path1=/home/yuqing/fastdfs1 |
| 35 |
+#store_path0=/var/db/fastdfs/storage |
| 36 |
+#store_path1=/var/db/fastdfs/storage2 |
| 37 |
|
| 38 |
# group settings for group #2 |
| 39 |
# since v1.14 |
| 40 |
@@ -129,5 +137,5 @@ |
| 41 |
#group_name=group2 |
| 42 |
#storage_server_port=23000 |
| 43 |
#store_path_count=1 |
| 44 |
-#store_path0=/home/yuqing/fastdfs |
| 45 |
+#store_path0=/var/db/fastdfs/storage |
| 46 |
|