resin.properties 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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 : severe
  17. # Enable verbose browser error reporting
  18. dev_mode : false
  19. # How often Resin should check for updated files.
  20. dependency_check_interval : 5m
  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. # Configures Resin for a memcached server tier
  32. # memcached-tier Triad servers: memcached-0 memcached-1 memcached-2
  33. # memcached_servers : 127.0.0.1:6820
  34. # memcached_port : 11211
  35. # Allow elastic nodes to join the cluster (enable for cloud mode)
  36. # elastic_cloud_enable : true
  37. # The cluster that elastic nodes should join - each will contact a Triad server
  38. # Use a separate resin.properties file for each cluster
  39. home_cluster : app
  40. # Used for an elastic server to join the cluster in home_cluster
  41. # elastic_server : true
  42. # Create a distinct webapps/ directory for each server, for vertical scaling
  43. # elastic_webapp : true
  44. # Used for cloud servers with dynamic IP addresses where the DNS name for the
  45. # server is assigned after the server starts. Resin will retry the start.
  46. # elastic_dns : true
  47. # specifies the --server in the config file
  48. # home_server : app-0
  49. # Set HTTP and HTTPS bind address
  50. # http_address : *
  51. # Set HTTP and HTTPS ports.
  52. # Use overrides for individual server control, for example: app-0.http : 8081
  53. app.http : 8080
  54. # app.https : 8443
  55. web.http : 8080
  56. # web.https : 8443
  57. # memcached.http : 8080
  58. # memcached.https : 8443
  59. # For security, Resin can switch to a non-root user after binding to port 80
  60. setuid_user :
  61. setuid_group :
  62. # Arg passed directly to the JVM
  63. jvm_args : -Xmx2048m -Xms2048m -XX:MaxPermSize=256m
  64. jvm_mode : -server
  65. # Local URLs for the watchdog to check to ensure the server is up,
  66. # space separated
  67. # http_ping_urls : http://127.0.0.1/test.jsp
  68. # Throttle the number of active threads for a port
  69. port_thread_max : 256
  70. accept_thread_max : 32
  71. accept_thread_min : 4
  72. # Enable JNI TCP speed optimizations
  73. tcp_cork : true
  74. sendfile : true
  75. # OpenSSL certificate configuration
  76. # Keys are typically stored in the resin configuration directory.
  77. # openssl_file : keys/test.crt
  78. # openssl_key : keys/test.key
  79. # openssl_password : changeme
  80. # JSSE certificate configuration
  81. # Keys are typically stored in the resin configuration directory.
  82. # jsse_keystore_type : jks
  83. # jsse_keystore_file : /etc/resin/keys/server.keystore
  84. # jsse_keystore_password : changeme
  85. # In absence of a signed certificate, Resin will fallback to using a
  86. # self-signed development certificate if HTTPS is enabled
  87. # Enable the proxy-cache - for caching static content in memory
  88. proxy_cache_enable : true
  89. # Sets the proxy cache memory size
  90. # proxy_cache_size : 256m
  91. # Enable clustered persistent sessions (for failover)
  92. session_store : true
  93. # disable the quercus *.php mapping when using Apache for PHP
  94. # quercus_disable : true
  95. # Web-apps named with numeric suffixes, e.g. foo-10.0.war and can be browsed
  96. # as /foo. When a new version of the web-app is deployed, Resin continues
  97. # to route active session requests to the previous web-app version while
  98. # new sessions go to the new version, so users will not be aware of the
  99. # application upgrade.
  100. # webapp_multiversion_routing : true
  101. # Set the email address to receive weekly and restart PDF reports
  102. # email : [email protected]
  103. # Set a global password to prevent foreign Resin instances from connecting.
  104. # Must be identical between web, app, and cache clusters.
  105. # cluster_system_key : changeme
  106. # Enable remote admin (for remote CLI and for EC2 ext: triad discovery)
  107. # remote_admin_enable : true
  108. # Enable /resin-admin web administration console
  109. web_admin_enable : false
  110. web_admin_host :
  111. # Permit access to /resin-admin from non-local network ip-addresses
  112. # web_admin_external : true
  113. # Require HTTPS to access /resin-admin
  114. # web_admin_ssl : true
  115. # Enable Resin REST Admin
  116. # rest_admin_enable : true
  117. # Require SSL for REST Admin
  118. # rest_admin_ssl : true
  119. # Access to /resin-admin and remote CLI is password restricted.
  120. # Use "resinctl generate-password" and copy/paste here to set the admin
  121. # admin_user : admin
  122. # admin_password : {SSHA}xxxxxxxx
  123. # Enable reading EC2 user data as resin properties
  124. # properties_import_url : http://169.254.169.254/latest/user-data