resin.properties 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. # resin.properties - configuration variable values
  2. #
  3. # See resin.xml, cluster-default.xml, and health.xml for full configuration.
  4. # Any variable defined by ${...} can be set as a property in this file.
  5. #
  6. # Individual server overrides can be specified by prepending the server.id.
  7. # For example, increasing the log level for an individual server:
  8. #
  9. # log_level : info
  10. # app-0.log_level : finest
  11. #
  12. # Like Resin XML configuration, modification of this file will trigger
  13. # a restart.
  14. #
  15. # General log level (modify resin.xml for more granular log level adjustments)
  16. # log_level : finer
  17. # Enable verbose browser error reporting
  18. dev_mode : false
  19. # How often Resin should check for updated files.
  20. dependency_check_interval : -1
  21. # Enable /resin-doc Resin documentation
  22. resin_doc : false
  23. resin_doc_host :
  24. # List Triad server ip-addresses:hmux-port for each tier, space separated
  25. # App tier Triad servers must be listed to enable web-tier to
  26. # app-tier load-balancing
  27. # web-tier Triad servers: web-0 web-1 web-2
  28. # web_servers : 127.0.0.1:6810
  29. # app-tier Triad servers: app-0 app-1 app-2
  30. app_servers : 127.0.0.1:6800
  31. # Allow elastic nodes to join the cluster (enable for cloud mode)
  32. elastic_cloud_enable : false
  33. # The cluster that elastic nodes should join - each will contact a Triad server
  34. # Use a separate resin.properties file for each cluster
  35. home_cluster : app
  36. # Used for an elastic server to join the cluster in home_cluster
  37. # elastic_server : true
  38. # Create a distinct webapps/ directory for each server, for vertical scaling
  39. elastic_webapp : false
  40. # Used for cloud servers with dynamic IP addresses where the DNS name for the
  41. # server is assigned after the server starts. Resin will retry the start.
  42. elastic_dns : false
  43. # specifies the --server in the config file
  44. # home_server : app-0
  45. # Set HTTP and HTTPS bind address
  46. # http_address : *
  47. # Set HTTP and HTTPS ports.
  48. # http - default for all clusters and servers
  49. # app.http - default for all servers in cluster 'app'
  50. # app-0.http - for server 'app-0' only
  51. # http : 8080
  52. app.http : 8080
  53. # app.https : 8443
  54. #web.http : 8080
  55. # web.https : 8443
  56. # For security, Resin can switch to a non-root user after binding to port 80
  57. setuid_user :
  58. setuid_group :
  59. # Arg passed directly to the JVM
  60. jvm_args : -Xmx8192m -Xms8192m -Xmn3072m -XX:MaxPermSize=512m
  61. jvm_args : -javaagent:/app/soft/skywalking-agent/skywalking-agent.jar
  62. #jvm_args : -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=128m -XX:MaxPermSize=256m
  63. # jvm_mode : -server
  64. # watchdog_jvm_args :
  65. # This classpath has priority over the default classpath, like when you want to
  66. # use a third party library like Hibernate's JPA
  67. # jvm_classpath :
  68. # Local URLs for the watchdog to check to ensure the server is up,
  69. # space separated
  70. # http_ping_urls : http://127.0.0.1/test.jsp
  71. # Throttle the number of active threads for a port
  72. port_thread_max : 1024
  73. accept_thread_max : 64
  74. accept_thread_min : 8
  75. # keepalive_max : 512
  76. # Enable JNI TCP speed optimizations
  77. tcp_cork : true
  78. sendfile : true
  79. keepalive_select_enable : true
  80. # OpenSSL certificate configuration
  81. # Keys are typically stored in the resin configuration directory.
  82. # openssl_file : keys/test.crt
  83. # openssl_key : keys/test.key
  84. # openssl_chain_file : keys/test.ca
  85. # openssl_password : changeme
  86. # openssl_protocol : -sslv2 -sslv3
  87. # openssl_cipher_suite :
  88. # JSSE certificate configuration
  89. # Keys are typically stored in the resin configuration directory.
  90. # jsse_keystore_type : jks
  91. # jsse_keystore_file : /etc/resin/keys/server.keystore
  92. # jsse_keystore_password : changeme
  93. # In absence of a signed certificate, Resin will fallback to using a
  94. # self-signed development certificate if HTTPS is enabled
  95. # Enable the proxy-cache - for caching static content in memory
  96. proxy_cache_enable : true
  97. # Sets the proxy cache memory size
  98. # proxy_cache_size : 256m
  99. # Enable clustered persistent sessions (for failover)
  100. session_store : false
  101. # Access log format
  102. access_log_format : %D %{xxx}c %h %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"
  103. # disable the quercus *.php mapping when using Apache for PHP
  104. # quercus_disable : true
  105. # Web-apps named with numeric suffixes, e.g. foo-10.0.war and can be browsed
  106. # as /foo. When a new version of the web-app is deployed, Resin continues
  107. # to route active session requests to the previous web-app version while
  108. # new sessions go to the new version, so users will not be aware of the
  109. # application upgrade.
  110. # webapp_multiversion_routing : true
  111. # Set the email address to receive weekly and restart PDF reports
  112. # email : admin@example.com
  113. pdf_summary : false
  114. # Enable remote admin (for remote CLI and for EC2 ext: triad discovery)
  115. remote_admin_enable : false
  116. # Enable /resin-admin web administration console
  117. web_admin_enable : false
  118. web_admin_host :
  119. # Permit access to /resin-admin from non-local network ip-addresses
  120. web_admin_external : false
  121. # Require HTTPS to access /resin-admin
  122. # web_admin_ssl : true
  123. # Enable Resin REST Admin
  124. rest_admin_enable : false
  125. # Require SSL for REST Admin
  126. # rest_admin_ssl : true
  127. # Health check disable
  128. # health_disable : true
  129. # health_log_level : off
  130. # health_log_expire_timeout : 14D
  131. # access to /resin-admin and remote CLI is password restricted.
  132. # Use "resinctl generate-password" and copy/paste here to set the admin
  133. # admin_user : admin
  134. # admin_password : danien#$%niresin
  135. # Enable reading EC2 user data as resin properties
  136. # properties_import_url : http://169.254.169.254/latest/user-data