application.ini 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. ##
  2. ## Application settings file
  3. ##
  4. [General]
  5. # Listens on the specified port.
  6. ListenPort=8080
  7. # Sets the codec used by 'QObject::tr()' and 'toLocal8Bit()' to the
  8. # QTextCodec for the specified encoding. See QTextCodec class reference.
  9. InternalEncoding=UTF-8
  10. # Sets the codec for http output stream to the QTextCodec for the
  11. # specified encoding. See QTextCodec class reference.
  12. HttpOutputEncoding=UTF-8
  13. # Sets a language/country pair, such as en_US, ja_JP, etc.
  14. # If this value is empty, the system's locale is used.
  15. Locale=
  16. # Specify the multiprocessing module, such as 'thread' or 'prefork'
  17. MultiProcessingModule=hybrid
  18. # Specify the absolute or relative path of the temporary directory
  19. # for HTTP uploaded files. Uses system default if not specified.
  20. UploadTemporaryDirectory=tmp
  21. # Specify setting files for SQL databases.
  22. SqlDatabaseSettingsFiles=database.ini
  23. # Specify the setting file for MongoDB.
  24. MongoDbSettingsFile=mongodb.ini
  25. # Specify the directory path to store SQL query files
  26. SqlQueriesStoredDirectory=sql/
  27. # Determines whether it renders views without controllers directly
  28. # like PHP or not, which views are stored in the directory of
  29. # app/views/direct. By default, this parameter is false.
  30. DirectViewRenderMode=false
  31. # Specify a file path for system log.
  32. SystemLogFile=log/treefrog.log
  33. # Specify a file path for SQL query log.
  34. # If it's empty or the line is commented out, output to SQL query log
  35. # is disabled.
  36. SqlQueryLogFile=
  37. # Determines whether the application aborts (to create a core dump
  38. # on Unix systems) or not when it output a fatal message by tFatal()
  39. # method.
  40. ApplicationAbortOnFatal=false
  41. # This directive specifies the number of bytes from 0 (meaning
  42. # unlimited) to 2147483647 (2GB) that are allowed in a request body.
  43. LimitRequestBody=0
  44. # If false is specified, the protective function against cross-site request
  45. # forgery never work; otherwise it's enabled.
  46. EnableCsrfProtectionModule=false
  47. # Enables HTTP method override if true. The following are priorities of
  48. # override.
  49. # - Value of query parameter named '_method'
  50. # - Value of X-HTTP-Method-Override header
  51. # - Value of X-HTTP-Method header
  52. # - Value of X-METHOD-OVERRIDE header
  53. EnableHttpMethodOverride=false
  54. # Sets the timeout in seconds during which a keep-alive HTTP connection
  55. # will stay open on the server side. The zero value disables keep-alive
  56. # client connections.
  57. HttpKeepAliveTimeout=10
  58. # Forces some libraries to be loaded before all others. It means to set
  59. # the LD_PRELOAD environment variable for the application server, Linux
  60. # only. The paths to shared objects, jemalloc or TCMalloc, can be
  61. # specified.
  62. LDPreload=/usr/lib/x86_64-linux-gnu/libjemalloc.so
  63. ##
  64. ## Session section
  65. ##
  66. Session.Name=TFSESSION
  67. # Specify the session store type, such as 'sqlobject', 'file', 'cookie'
  68. # or plugin module name.
  69. Session.StoreType=cookie
  70. # Replaces the session ID with a new one each time one connects, and
  71. # keeps the current session information.
  72. Session.AutoIdRegeneration=false
  73. # Specifies the lifetime of the session in seconds. The value 0 means
  74. # "until the browser is closed." Defaults to 0.
  75. Session.LifeTime=0
  76. # Specifies path to set in the session cookie. Defaults to /.
  77. Session.CookiePath=/
  78. # Probability that the garbage collection starts.
  79. # If 100 specified, the GC of sessions starts at the rate of once per 100
  80. # accesses. If 0 specified, the GC never starts.
  81. Session.GcProbability=100
  82. # Specifies the number of seconds after which session data will be seen as
  83. # 'garbage' and potentially cleaned up.
  84. Session.GcMaxLifeTime=1800
  85. # Secret key for verifying cookie session data integrity.
  86. # Enter at least 30 characters and all random.
  87. Session.Secret=0I3EINu8nxl1hMu0dVDdDpIvbT2zKs
  88. # Specify CSRF protection key.
  89. # Uses it in case of cookie session.
  90. Session.CsrfProtectionKey=_csrfId
  91. ##
  92. ## MPM Thread section
  93. ##
  94. # Number of application server processes to be started.
  95. MPM.thread.MaxAppServers=
  96. # Maximum number of action threads allowed to start simultaneously
  97. # per server process.
  98. MPM.thread.MaxThreadsPerAppServer=100
  99. ##
  100. ## MPM Hybrid section
  101. ##
  102. # Number of application server processes to be started.
  103. MPM.hybrid.MaxAppServers=
  104. # Maximum number of worker threads allowed to start simultaneously
  105. # per server process.
  106. MPM.hybrid.MaxWorkersPerAppServer=100
  107. ##
  108. ## SystemLog settings
  109. ##
  110. # Specify the system log file name.
  111. SystemLog.FilePath=log/treefrog.log
  112. # Specify the layout of the system log
  113. # %d : Date-time
  114. # %p : Priority (lowercase)
  115. # %P : Priority (uppercase)
  116. # %t : Thread ID (dec)
  117. # %T : Thread ID (hex)
  118. # %i : PID (dec)
  119. # %I : PID (hex)
  120. # %m : Log message
  121. # %n : Newline code
  122. SystemLog.Layout="%d %5P [%t] %m%n"
  123. # Specify the date-time format of the system log
  124. SystemLog.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
  125. ##
  126. ## AccessLog settings
  127. ##
  128. # Specify the access log file name.
  129. AccessLog.FilePath=
  130. # Specify the layout of the access log.
  131. # %h : Remote host
  132. # %d : Date-time the request was received
  133. # %r : First line of request
  134. # %s : Status code
  135. # %O : Bytes sent, including headers, cannot be zero
  136. # %n : Newline code
  137. AccessLog.Layout="%h %d \"%r\" %s %O%n"
  138. # Specify the date-time format of the access log
  139. AccessLog.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
  140. ##
  141. ## ActionMailer section
  142. ##
  143. # Specify the delivery method such as "smtp" or "sendmail".
  144. # If empty, the mail is not sent.
  145. ActionMailer.DeliveryMethod=smtp
  146. # Specify the character set of email. The system encodes with this codec,
  147. # and sends the encoded mail.
  148. ActionMailer.CharacterSet=UTF-8
  149. ##
  150. ## ActionMailer SMTP section
  151. ##
  152. # Specify the connection's host name or IP address.
  153. ActionMailer.smtp.HostName=
  154. # Specify the connection's port number.
  155. ActionMailer.smtp.Port=
  156. # Enables SMTP authentication if true; disables SMTP
  157. # authentication if false.
  158. ActionMailer.smtp.Authentication=false
  159. # Specify the user name for SMTP authentication.
  160. ActionMailer.smtp.UserName=
  161. # Specify the password for SMTP authentication.
  162. ActionMailer.smtp.Password=
  163. # Enables the delayed delivery of email if true. If enabled, deliver() method
  164. # only adds the email to the queue and therefore the method doesn't block.
  165. ActionMailer.smtp.DelayedDelivery=false
  166. ##
  167. ## ActionMailer Sendmail section
  168. ##
  169. #ActionMailer.sendMail.CommandLocation=/usr/sbin/sendmail