123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- ##
- ## Application settings file
- ##
- [General]
- # Listens on the specified port.
- ListenPort=8080
- # Sets the codec used by 'QObject::tr()' and 'toLocal8Bit()' to the
- # QTextCodec for the specified encoding. See QTextCodec class reference.
- InternalEncoding=UTF-8
- # Sets the codec for http output stream to the QTextCodec for the
- # specified encoding. See QTextCodec class reference.
- HttpOutputEncoding=UTF-8
- # Sets a language/country pair, such as en_US, ja_JP, etc.
- # 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 absolute or relative path of the temporary directory
- # for HTTP uploaded files. Uses system default if not specified.
- UploadTemporaryDirectory=tmp
- # Specify setting files for SQL databases.
- SqlDatabaseSettingsFiles=database.ini
- # Specify the setting file for MongoDB.
- MongoDbSettingsFile=mongodb.ini
- # Specify the directory path to store SQL query files
- SqlQueriesStoredDirectory=sql/
- # Determines whether it renders views without controllers directly
- # like PHP or not, which views are stored in the directory of
- # app/views/direct. By default, this parameter is false.
- DirectViewRenderMode=false
- # Specify a file path for system log.
- SystemLogFile=log/treefrog.log
- # Specify a file path for SQL query log.
- # If it's empty or the line is commented out, output to SQL query log
- # is disabled.
- SqlQueryLogFile=
- # Determines whether the application aborts (to create a core dump
- # on Unix systems) or not when it output a fatal message by tFatal()
- # method.
- ApplicationAbortOnFatal=false
- # This directive specifies the number of bytes from 0 (meaning
- # unlimited) to 2147483647 (2GB) that are allowed in a request body.
- LimitRequestBody=0
- # If false is specified, the protective function against cross-site request
- # forgery never work; otherwise it's enabled.
- EnableCsrfProtectionModule=false
- # Enables HTTP method override if true. The following are priorities of
- # override.
- # - Value of query parameter named '_method'
- # - Value of X-HTTP-Method-Override header
- # - Value of X-HTTP-Method header
- # - Value of X-METHOD-OVERRIDE header
- EnableHttpMethodOverride=false
- # Sets the timeout in seconds during which a keep-alive HTTP connection
- # will stay open on the server side. The zero value disables keep-alive
- # client connections.
- HttpKeepAliveTimeout=10
- # Forces some libraries to be loaded before all others. It means to set
- # the LD_PRELOAD environment variable for the application server, Linux
- # only. The paths to shared objects, jemalloc or TCMalloc, can be
- # specified.
- LDPreload=/usr/lib/x86_64-linux-gnu/libjemalloc.so
- ##
- ## Session section
- ##
- Session.Name=TFSESSION
- # Specify the session store type, such as 'sqlobject', 'file', 'cookie'
- # or plugin module name.
- 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 path 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
- # Specifies the number of seconds after which session data will be seen as
- # 'garbage' and potentially cleaned up.
- Session.GcMaxLifeTime=1800
- # Secret key for verifying cookie session data integrity.
- # Enter at least 30 characters and all random.
- Session.Secret=0I3EINu8nxl1hMu0dVDdDpIvbT2zKs
- # Specify CSRF protection key.
- # Uses it in case of cookie session.
- Session.CsrfProtectionKey=_csrfId
- ##
- ## 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.
- MPM.thread.MaxThreadsPerAppServer=100
- ##
- ## MPM Hybrid 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
- ##
- ## SystemLog settings
- ##
- # Specify the system log file name.
- SystemLog.FilePath=log/treefrog.log
- # Specify the layout of the system log
- # %d : Date-time
- # %p : Priority (lowercase)
- # %P : Priority (uppercase)
- # %t : Thread ID (dec)
- # %T : Thread ID (hex)
- # %i : PID (dec)
- # %I : PID (hex)
- # %m : Log message
- # %n : Newline code
- SystemLog.Layout="%d %5P [%t] %m%n"
- # Specify the date-time format of the system log
- SystemLog.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
- ##
- ## AccessLog settings
- ##
- # Specify the access log file name.
- AccessLog.FilePath=
- # Specify the layout of the access log.
- # %h : Remote host
- # %d : Date-time the request was received
- # %r : First line of request
- # %s : Status code
- # %O : Bytes sent, including headers, cannot be zero
- # %n : Newline code
- AccessLog.Layout="%h %d \"%r\" %s %O%n"
- # Specify the date-time format of the access log
- AccessLog.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
- ##
- ## ActionMailer section
- ##
- # Specify the delivery method such as "smtp" or "sendmail".
- # If empty, the mail is not sent.
- ActionMailer.DeliveryMethod=smtp
- # Specify the character set of email. The system encodes with this codec,
- # and sends the encoded mail.
- ActionMailer.CharacterSet=UTF-8
- ##
- ## ActionMailer SMTP section
- ##
- # Specify the connection's host name or IP address.
- ActionMailer.smtp.HostName=
- # Specify the connection's port number.
- ActionMailer.smtp.Port=
- # Enables SMTP authentication if true; disables SMTP
- # authentication if false.
- ActionMailer.smtp.Authentication=false
- # Specify the user name for SMTP authentication.
- ActionMailer.smtp.UserName=
- # Specify the password for SMTP authentication.
- ActionMailer.smtp.Password=
- # Enables the delayed delivery of email if true. If enabled, deliver() method
- # only adds the email to the queue and therefore the method doesn't block.
- ActionMailer.smtp.DelayedDelivery=false
- ##
- ## ActionMailer Sendmail section
- ##
- #ActionMailer.sendMail.CommandLocation=/usr/sbin/sendmail
|