Skip to content

Commit d78e397

Browse files
author
yuqing
committed
v1.16 from google code
0 parents  commit d78e397

File tree

7 files changed

+2869
-0
lines changed

7 files changed

+2869
-0
lines changed

HISTORY

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
Version 1.16 2014-05-04
3+
* mod_fastdfs.conf remove parameter: http.need_find_content_type
4+
* bug fixed: remove flv duplicate start variable define
5+
* flv support end parameter
6+
* bug fixed: in function proxy_create_request, use r->unparsed_uri
7+
when r->valid_unparsed_uri is true, otherwise use r->uri and r->args
8+
9+
Version 1.15 2013-01-13
10+
* add storage server port config with multi groups
11+
* support flv, you must upgrade your FastDFS server to v4.06
12+
or higher version
13+
14+
Version 1.14 2012-12-29
15+
* bug fixed: do not check store path index when not same group
16+
you must upgrade your FastDFS server to v4.05 or higher version
17+
* proxy handler deal headers more gracefully
18+
* set last modified time correctly
19+
* support multi groups
20+
21+
Version 1.13 2012-11-14
22+
* support filename include storage server ID
23+
must upgrade your FastDFS server to v4.03 or higher version
24+
* call function fdfs_mod_init change from ngx_http_fastdfs_set to
25+
ngx_http_fastdfs_process_init
26+
27+
Version 1.12 2012-10-20
28+
* log detail error info when stat file fail
29+
* mod_fastdfs.conf add parameter: load_fdfs_parameters_from_tracker,
30+
not load parameters from the FDFS tracker server by default
31+
32+
Version 1.11 2012-08-27
33+
* add more debug info
34+
* use nginx error page when HTTP status is not ok
35+
36+
Version 1.10 2012-01-03
37+
* use r->uri and r->args instead of r->unparsed_uri to support
38+
rewrite correctly
39+
40+
Version 1.09 2011-11-26
41+
* bug fixed: correct HTTP status when nginx send file with range
42+
43+
Version 1.08 2011-08-21
44+
* add store path count in startup log info
45+
* support HTTP range
46+
47+
Version 1.07 2011-07-31
48+
* add more error log
49+
* bug fixed: miss sub dir data in data path
50+
51+
Version 1.06 2011-06-11
52+
* bug fixed: cross group does not proxy or redirect when the file upload
53+
one day ago
54+
* support trunk file (FastDFS server version >= 3.00)
55+
56+
Version 1.05 2011-03-16
57+
* support request header if_modified_since
58+
59+
Version 1.04 2011-03-12
60+
* support url parameter "filename" to specify attachment filename
61+
* add Last-Modified header
62+
63+
Version 1.03 2011-01-31
64+
* use FastDFS V2.08 client library
65+
66+
Version 1.02 2010-12-20
67+
* fix signedness and signed assignment
68+
* change ngx_http_fastdfs_proxy_handler return type from ngx_int_t to int
69+
70+
Version 1.01 2010-11-15
71+
* use nginx proxy deal approach
72+
73+
Version 1.00 2010-11-08
74+
* first version
75+

INSTALL

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Copy right 2010 Happy Fish / YuQing
2+
3+
This software may be copied only under the terms of the GNU General
4+
Public License V3, Please visit the FastDFS Home Page for more detail.
5+
English language: http://english.csource.org/
6+
Chinese language: http://www.csource.org/
7+
8+
#step 1. first install the FastDFS storage server and client library,
9+
the FastDFS version should >= 2.09. download address:
10+
https://code.google.com/p/fastdfs/downloads/list
11+
12+
#step 2. install nginx server
13+
FastDFS nginx module test passed with nginx 0.8.53,
14+
my nginx installed in /usr/local/nginx
15+
16+
#step 3. download FastDFS nginx module source package and unpack it, such as:
17+
tar xzf fastdfs_nginx_module_v1.16.tar.gz
18+
19+
#step 4. enter the nginx source dir, compile and install the module, such as:
20+
cd nginx-1.5.12
21+
./configure --add-module=/home/yuqing/fastdfs-nginx-module/src
22+
make; make install
23+
24+
Notice: before compile, you can change FDFS_OUTPUT_CHUNK_SIZE and
25+
FDFS_MOD_CONF_FILENAME macro in the config file as:
26+
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='\"/etc/fdfs/mod_fastdfs.conf\"'"
27+
28+
#step 5. config the nginx config file such as nginx.conf, add the following lines:
29+
30+
location /M00 {
31+
root /home/yuqing/fastdfs/data;
32+
ngx_fastdfs_module;
33+
}
34+
35+
#step 6. make a symbol link ${fastdfs_base_path}/data/M00 to ${fastdfs_base_path}/data,
36+
command line such as:
37+
ln -s /home/yuqing/fastdfs/data /home/yuqing/fastdfs/data/M00
38+
39+
#step 7. change the config file /etc/fdfs/mod_fastdfs.conf, more detail please see it
40+
41+
#step 8. restart the nginx server, such as:
42+
/usr/local/nginx/sbin/nginx -s stop; /usr/local/nginx/sbin/nginx
43+

0 commit comments

Comments
 (0)