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