|
@@ -6,6 +6,10 @@
|
|
|
# Listens on the specified port.
|
|
|
ListenPort=8080
|
|
|
|
|
|
+# Listens for incoming connections on the specified IP address. If this value
|
|
|
+# is empty, equivalent to "0.0.0.0".
|
|
|
+ListenAddress=
|
|
|
+
|
|
|
# Sets the codec used by 'QObject::tr()' and 'toLocal8Bit()' to the
|
|
|
# QTextCodec for the specified encoding. See QTextCodec class reference.
|
|
|
InternalEncoding=UTF-8
|
|
@@ -18,8 +22,10 @@ HttpOutputEncoding=UTF-8
|
|
|
# If this value is empty, the system's locale is used.
|
|
|
Locale=
|
|
|
|
|
|
-# Specify the multiprocessing module, such as 'thread' or 'prefork'
|
|
|
-MultiProcessingModule=hybrid
|
|
|
+# Specify the multiprocessing module, such as thread or epoll.
|
|
|
+# thread: multithreading assigned to each socket, available for all platforms
|
|
|
+# epoll: scalable I/O event notification (epoll) in single thread, Linux only
|
|
|
+MultiProcessingModule=thread
|
|
|
|
|
|
# Specify the absolute or relative path of the temporary directory
|
|
|
# for HTTP uploaded files. Uses system default if not specified.
|
|
@@ -28,10 +34,13 @@ UploadTemporaryDirectory=tmp
|
|
|
# Specify setting files for SQL databases.
|
|
|
SqlDatabaseSettingsFiles=database.ini
|
|
|
|
|
|
-# Specify the setting file for MongoDB.
|
|
|
+# Specify the setting file for MongoDB, mongodb.ini.
|
|
|
MongoDbSettingsFile=mongodb.ini
|
|
|
|
|
|
-# Specify the directory path to store SQL query files
|
|
|
+# Specify the setting file for Redis, redis.ini.
|
|
|
+RedisSettingsFile=
|
|
|
+
|
|
|
+# Specify the directory path to store SQL query files.
|
|
|
SqlQueriesStoredDirectory=sql/
|
|
|
|
|
|
# Determines whether it renders views without controllers directly
|
|
@@ -52,8 +61,8 @@ SqlQueryLogFile=
|
|
|
# method.
|
|
|
ApplicationAbortOnFatal=false
|
|
|
|
|
|
-# This directive specifies the number of bytes from 0 (meaning
|
|
|
-# unlimited) to 2147483647 (2GB) that are allowed in a request body.
|
|
|
+# This directive specifies the number of bytes that are allowed in
|
|
|
+# a request body. 0 means unlimited.
|
|
|
LimitRequestBody=0
|
|
|
|
|
|
# If false is specified, the protective function against cross-site request
|
|
@@ -84,25 +93,31 @@ LDPreload=/usr/lib/x86_64-linux-gnu/libjemalloc.so
|
|
|
##
|
|
|
Session.Name=TFSESSION
|
|
|
|
|
|
-# Specify the session store type, such as 'sqlobject', 'file', 'cookie'
|
|
|
-# or plugin module name.
|
|
|
+# Specify the session store type, such as 'sqlobject', 'file', 'cookie',
|
|
|
+# 'mongodb', 'redis', 'cachedb' or plugin module name.
|
|
|
+# For 'sqlobject', the settings specified in SqlDatabaseSettingsFiles are used.
|
|
|
+# For 'mongodb', the settings specified in MongoDbSettingsFile are used.
|
|
|
+# For 'redis', the settings specified in RedisSettingsFile are used.
|
|
|
Session.StoreType=cookie
|
|
|
|
|
|
# Replaces the session ID with a new one each time one connects, and
|
|
|
# keeps the current session information.
|
|
|
Session.AutoIdRegeneration=false
|
|
|
|
|
|
-# Specifies the lifetime of the session in seconds. The value 0 means
|
|
|
-# "until the browser is closed." Defaults to 0.
|
|
|
-Session.LifeTime=0
|
|
|
+# Specifies a Max-Age attribute of the session cookie in seconds. The value 0
|
|
|
+# means "until the browser is closed."
|
|
|
+Session.CookieMaxAge=0
|
|
|
+
|
|
|
+# Specifies a domain attribute to set in the session cookie.
|
|
|
+Session.CookieDomain=
|
|
|
|
|
|
-# Specifies path to set in the session cookie. Defaults to /.
|
|
|
+# Specifies a path attribute to set in the session cookie. Defaults to /.
|
|
|
Session.CookiePath=/
|
|
|
|
|
|
# Probability that the garbage collection starts.
|
|
|
# If 100 specified, the GC of sessions starts at the rate of once per 100
|
|
|
# accesses. If 0 specified, the GC never starts.
|
|
|
-Session.GcProbability=100
|
|
|
+Session.GcProbability=100000
|
|
|
|
|
|
# Specifies the number of seconds after which session data will be seen as
|
|
|
# 'garbage' and potentially cleaned up.
|
|
@@ -117,26 +132,23 @@ Session.Secret=0I3EINu8nxl1hMu0dVDdDpIvbT2zKs
|
|
|
Session.CsrfProtectionKey=_csrfId
|
|
|
|
|
|
##
|
|
|
-## MPM Thread section
|
|
|
+## MPM thread section
|
|
|
##
|
|
|
|
|
|
# Number of application server processes to be started.
|
|
|
MPM.thread.MaxAppServers=
|
|
|
|
|
|
# Maximum number of action threads allowed to start simultaneously
|
|
|
-# per server process.
|
|
|
+# per server process. Set max_connections parameter of the DBMS
|
|
|
+# to (MaxAppServers * MaxThreadsPerAppServer) or more.
|
|
|
MPM.thread.MaxThreadsPerAppServer=100
|
|
|
|
|
|
##
|
|
|
-## MPM Hybrid section
|
|
|
+## MPM epoll section
|
|
|
##
|
|
|
|
|
|
# Number of application server processes to be started.
|
|
|
-MPM.hybrid.MaxAppServers=
|
|
|
-
|
|
|
-# Maximum number of worker threads allowed to start simultaneously
|
|
|
-# per server process.
|
|
|
-MPM.hybrid.MaxWorkersPerAppServer=100
|
|
|
+MPM.epoll.MaxAppServers=
|
|
|
|
|
|
##
|
|
|
## SystemLog settings
|
|
@@ -201,6 +213,9 @@ ActionMailer.smtp.HostName=
|
|
|
# Specify the connection's port number.
|
|
|
ActionMailer.smtp.Port=
|
|
|
|
|
|
+# Enables STARTTLS extension if true.
|
|
|
+ActionMailer.smtp.EnableSTARTTLS=false
|
|
|
+
|
|
|
# Enables SMTP authentication if true; disables SMTP
|
|
|
# authentication if false.
|
|
|
ActionMailer.smtp.Authentication=false
|
|
@@ -217,7 +232,26 @@ ActionMailer.smtp.DelayedDelivery=false
|
|
|
|
|
|
##
|
|
|
## ActionMailer Sendmail section
|
|
|
-##
|
|
|
+##
|
|
|
|
|
|
#ActionMailer.sendMail.CommandLocation=/usr/sbin/sendmail
|
|
|
|
|
|
+##
|
|
|
+## Cache section
|
|
|
+##
|
|
|
+
|
|
|
+# Specify the settings file to enable the cache module.
|
|
|
+# Comment out the following line.
|
|
|
+#Cache.SettingsFile=cache.ini
|
|
|
+
|
|
|
+# Specify the cache backend, such as 'sqlite', 'mongodb'
|
|
|
+# or 'redis'.
|
|
|
+Cache.Backend=sqlite
|
|
|
+
|
|
|
+# Probability of starting garbage collection (GC) for cache.
|
|
|
+# If 100 is specified, GC will be started at a rate of once per 100
|
|
|
+# sets. If 0 is specified, the GC never starts.
|
|
|
+Cache.GcProbability=100
|
|
|
+
|
|
|
+# If true, enable LZ4 compression when storing data.
|
|
|
+Cache.EnableCompression=true
|