Advertisement
JetForMe

Untitled

Mar 13th, 2014
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  16. # General log level (modify resin.xml for more granular log level adjustments)
  17. log_level     : all
  18.  
  19. # Enable verbose browser error reporting
  20. dev_mode      : true
  21.  
  22. # How often Resin should check for updated files.
  23. # dependency_check_interval : 5m
  24.  
  25. # Enable /resin-doc Resin documentation
  26. resin_doc      : true
  27. resin_doc_host :
  28.  
  29. # List Triad server ip-addresses:hmux-port for each tier, space separated
  30. # App tier Triad servers must be listed to enable web-tier to
  31. # app-tier load-balancing
  32.  
  33. # web-tier Triad servers: web-0 web-1 web-2
  34. # web_servers      : 127.0.0.1:6810
  35.  
  36. # app-tier Triad servers: app-0 app-1 app-2
  37. app_servers      : 127.0.0.1:6800
  38.  
  39. # Configures Resin for a memcached server tier
  40. # memcached-tier Triad servers: memcached-0 memcached-1 memcached-2
  41. # memcached_servers    : 127.0.0.1:6820
  42. # memcached_port : 11211
  43.  
  44. # proxycache tier: proxycache-0 proxycache-1 proxycache-2
  45. # proxycache_servers   : 127.0.0.1:6830
  46. # backend_servers       : 127.0.0.1:80
  47.  
  48. # Allow elastic nodes to join the cluster (enable for cloud mode)
  49. # elastic_cloud_enable : true
  50.  
  51. # The cluster that elastic nodes should join - each will contact a Triad server
  52. # Use a separate resin.properties file for each cluster
  53. home_cluster : app
  54.  
  55. # Used for an elastic server to join the cluster in home_cluster
  56. # elastic_server : true
  57.  
  58. # Create a distinct webapps/ directory for each server, for vertical scaling
  59. # elastic_webapp : true
  60.  
  61. # Used for cloud servers with dynamic IP addresses where the DNS name for the
  62. # server is assigned after the server starts. Resin will retry the start.
  63. # elastic_dns : true
  64.  
  65. # specifies the --server in the config file
  66. # home_server : app-0
  67.  
  68. # Set HTTP and HTTPS bind address
  69. # http_address  : *
  70.  
  71. # Set HTTP and HTTPS ports.
  72. # Use overrides for individual server control, for example: app-0.http : 8081
  73. app.http          : 80
  74. # app.https         : 443
  75.  
  76. web.http          : 80
  77. # web.https         : 443
  78.  
  79. # memcached.http      : 80
  80. # memcached.https     : 443
  81.  
  82. # proxycache.http    : 80
  83. # proxycache.https  : 443
  84.  
  85. # For security, Resin can switch to a non-root user after binding to port 80
  86. setuid_user   : www
  87. setuid_group  : www
  88.  
  89. # Arg passed directly to the JVM
  90. # jvm_args  : -Xmx2048m -XX:MaxPermSize=256m
  91. # jvm_mode    : -server
  92.  
  93. # Local URLs for the watchdog to check to ensure the server is up,
  94. # space separated
  95. # http_ping_urls : http://127.0.0.1/test.jsp
  96.  
  97. # Throttle the number of active threads for a port
  98. port_thread_max   : 256
  99. accept_thread_max : 32
  100. accept_thread_min : 4
  101. # keepalive_max   : 512
  102.  
  103. # Enable JNI TCP speed optimizations
  104. tcp_cork : true
  105. sendfile : true
  106. keepalive_select_enable : true
  107.  
  108. # OpenSSL certificate configuration
  109. # Keys are typically stored in the resin configuration directory.
  110. # openssl_file : keys/test.crt
  111. # openssl_key : keys/test.key
  112. # openssl_password : changeme
  113.  
  114. # JSSE certificate configuration
  115. # Keys are typically stored in the resin configuration directory.
  116. # jsse_keystore_type : jks
  117. # jsse_keystore_file : /etc/resin/keys/server.keystore
  118. # jsse_keystore_password : changeme
  119.  
  120. # In absence of a signed certificate, Resin will fallback to using a
  121. # self-signed development certificate if HTTPS is enabled
  122.  
  123. # Enable the proxy-cache - for caching static content in memory
  124. proxy_cache_enable : true
  125.  
  126. # Sets the proxy cache memory size
  127. # proxy_cache_size : 256m
  128.  
  129. # Enable clustered persistent sessions (for failover)
  130. session_store : true
  131.  
  132. # disable the quercus *.php mapping when using Apache for PHP
  133. # quercus_disable : true
  134.  
  135. # Web-apps named with numeric suffixes, e.g. foo-10.0.war and can be browsed
  136. # as /foo. When a new version of the web-app is deployed, Resin continues
  137. # to route active session requests to the previous web-app version while
  138. # new sessions go to the new version, so users will not be aware of the
  139. # application upgrade.
  140. # webapp_multiversion_routing : true
  141.  
  142. # Set the email address to receive weekly and restart PDF reports
  143. # email : admin@example.com
  144.  
  145. # Set a global password to prevent foreign Resin instances from connecting.
  146. # Must be identical between web, app, and cache clusters.
  147. # cluster_system_key : changeme
  148.  
  149. # Enable remote admin (for remote CLI and for EC2 ext: triad discovery)
  150. # remote_admin_enable : true
  151.  
  152. # Enable /resin-admin web administration console
  153. web_admin_enable : true
  154. web_admin_host   :
  155.  
  156. # Permit access to /resin-admin from non-local network ip-addresses
  157. # web_admin_external : true
  158.  
  159. # Require HTTPS to access /resin-admin
  160. # web_admin_ssl : true
  161.  
  162. # Enable Resin REST Admin
  163. # rest_admin_enable : true
  164.  
  165. # Require SSL for REST Admin
  166. # rest_admin_ssl : true
  167.  
  168. # Access to /resin-admin and remote CLI is password restricted.
  169. # Use "resinctl generate-password" and copy/paste here to set the admin
  170. # admin_user : admin
  171. # admin_password : {SSHA}xxxxxxxx
  172.  
  173. # Enable reading EC2 user data as resin properties
  174. # properties_import_url : http://169.254.169.254/latest/user-data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement