You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							134 lines
						
					
					
						
							3.7 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							134 lines
						
					
					
						
							3.7 KiB
						
					
					
				
								# connect timeout in seconds
							 | 
						|
								# default value is 30s
							 | 
						|
								connect_timeout=2
							 | 
						|
								
							 | 
						|
								# network recv and send timeout in seconds
							 | 
						|
								# default value is 30s
							 | 
						|
								network_timeout=30
							 | 
						|
								
							 | 
						|
								# the base path to store log files
							 | 
						|
								base_path=/tmp
							 | 
						|
								
							 | 
						|
								# if load FastDFS parameters from tracker server
							 | 
						|
								# since V1.12
							 | 
						|
								# default value is false
							 | 
						|
								load_fdfs_parameters_from_tracker=true
							 | 
						|
								
							 | 
						|
								# storage sync file max delay seconds
							 | 
						|
								# same as tracker.conf
							 | 
						|
								# valid only when load_fdfs_parameters_from_tracker is false
							 | 
						|
								# since V1.12
							 | 
						|
								# default value is 86400 seconds (one day)
							 | 
						|
								storage_sync_file_max_delay = 86400
							 | 
						|
								
							 | 
						|
								# if use storage ID instead of IP address
							 | 
						|
								# same as tracker.conf
							 | 
						|
								# valid only when load_fdfs_parameters_from_tracker is false
							 | 
						|
								# default value is false
							 | 
						|
								# since V1.13
							 | 
						|
								use_storage_id = false
							 | 
						|
								
							 | 
						|
								# specify storage ids filename, can use relative or absolute path
							 | 
						|
								# same as tracker.conf
							 | 
						|
								# valid only when load_fdfs_parameters_from_tracker is false
							 | 
						|
								# since V1.13
							 | 
						|
								storage_ids_filename = storage_ids.conf
							 | 
						|
								
							 | 
						|
								# FastDFS tracker_server can ocur more than once, and tracker_server format is
							 | 
						|
								#  "host:port", host can be hostname or ip address
							 | 
						|
								# valid only when load_fdfs_parameters_from_tracker is true
							 | 
						|
								tracker_server=172.19.0.30:22122
							 | 
						|
								tracker_server=172.20.0.30:22122
							 | 
						|
								
							 | 
						|
								# the port of the local storage server
							 | 
						|
								# the default value is 23000
							 | 
						|
								storage_server_port=23000
							 | 
						|
								
							 | 
						|
								# the group name of the local storage server
							 | 
						|
								group_name=group1
							 | 
						|
								
							 | 
						|
								# if the url / uri including the group name
							 | 
						|
								# set to false when uri like /M00/00/00/xxx
							 | 
						|
								# set to true when uri like ${group_name}/M00/00/00/xxx, such as group1/M00/xxx
							 | 
						|
								# default value is false
							 | 
						|
								url_have_group_name = true
							 | 
						|
								
							 | 
						|
								# path(disk or mount point) count, default value is 1
							 | 
						|
								# must same as storage.conf
							 | 
						|
								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/dfs
							 | 
						|
								#store_path1=/home/yuqing/fastdfs1
							 | 
						|
								
							 | 
						|
								# standard log level as syslog, case insensitive, value list:
							 | 
						|
								### emerg for emergency
							 | 
						|
								### alert
							 | 
						|
								### crit for critical
							 | 
						|
								### error
							 | 
						|
								### warn for warning
							 | 
						|
								### notice
							 | 
						|
								### info
							 | 
						|
								### debug
							 | 
						|
								log_level=info
							 | 
						|
								
							 | 
						|
								# set the log filename, such as /usr/local/apache2/logs/mod_fastdfs.log
							 | 
						|
								# empty for output to stderr (apache and nginx error_log file)
							 | 
						|
								log_filename=
							 | 
						|
								
							 | 
						|
								# response mode when the file not exist in the local file system
							 | 
						|
								## proxy: get the content from other storage server, then send to client
							 | 
						|
								## redirect: redirect to the original storage server (HTTP Header is Location)
							 | 
						|
								response_mode=proxy
							 | 
						|
								
							 | 
						|
								# the NIC alias prefix, such as eth in Linux, you can see it by ifconfig -a
							 | 
						|
								# multi aliases split by comma. empty value means auto set by OS type
							 | 
						|
								# this paramter used to get all ip address of the local host
							 | 
						|
								# default values is empty
							 | 
						|
								if_alias_prefix=
							 | 
						|
								
							 | 
						|
								# use "#include" directive to include HTTP config file
							 | 
						|
								# NOTE: #include is an include directive, do NOT remove the # before include
							 | 
						|
								#include http.conf
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								# if support flv
							 | 
						|
								# default value is false
							 | 
						|
								# since v1.15
							 | 
						|
								flv_support = true
							 | 
						|
								
							 | 
						|
								# flv file extension name
							 | 
						|
								# default value is flv
							 | 
						|
								# since v1.15
							 | 
						|
								flv_extension = flv
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								# set the group count
							 | 
						|
								# set to none zero to support multi-group on this storage server
							 | 
						|
								# set to 0  for single group only
							 | 
						|
								# groups settings section as [group1], [group2], ..., [groupN]
							 | 
						|
								# default value is 0
							 | 
						|
								# since v1.14
							 | 
						|
								group_count = 0
							 | 
						|
								
							 | 
						|
								# group settings for group #1
							 | 
						|
								# since v1.14
							 | 
						|
								# when support multi-group on this storage server, uncomment following section
							 | 
						|
								#[group1]
							 | 
						|
								#group_name=group1
							 | 
						|
								#storage_server_port=23000
							 | 
						|
								#store_path_count=2
							 | 
						|
								#store_path0=/home/yuqing/fastdfs
							 | 
						|
								#store_path1=/home/yuqing/fastdfs1
							 | 
						|
								
							 | 
						|
								# group settings for group #2
							 | 
						|
								# since v1.14
							 | 
						|
								# when support multi-group, uncomment following section as neccessary
							 | 
						|
								#[group2]
							 | 
						|
								#group_name=group2
							 | 
						|
								#storage_server_port=23000
							 | 
						|
								#store_path_count=1
							 | 
						|
								#store_path0=/home/yuqing/fastdfs
							 | 
						|
								
							 | 
						|
								
							 |