-
-
Save babyking/ff29775c23490877fb856eb24bcc899d to your computer and use it in GitHub Desktop.
Default config file for thin web server with comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### SERVER OPTIONS ### | |
## Bind Address | |
#address: HOST # Default: 0.0.0.0 | |
## Bind port. If using multiple thin servers, | |
## they will bind to (PORT + n) where n is the server number | |
#port: PORT # Default: 3000 | |
## Bind to UNIX socket rather that a TCP port. | |
#socket: FILE | |
## Run using swiftiply | |
#swiftiply: [KEY] | |
## Rack adapter to use | |
#adapter: NAME # Default: autodetect | |
## Load a Rack config file instead of Rack adapter | |
#rackup: FILE | |
## Change to dir before starting | |
#chdir: DIR | |
## Mount the Stats adapter under PATH | |
#stats: PATH | |
### SSL OPTIONS ### | |
## Enable SSL | |
#ssl: BOOLEAN # Default: false | |
## Path to SSL key file | |
#ssl_key_file: PATH | |
## Path to SSL certificate | |
#ssl_cert_file: PATH | |
## Disable client certificate requests | |
#ssl_disable_verify: BOOLEAN # Default: false | |
### ADAPTER OPTIONS ### | |
## Framework Environment | |
#environment ENV # Default: development | |
## Mount the app under PATH | |
#prefix PATH # Default: / | |
### DAEMON OPTIONS ### | |
## Run daemonized in the background | |
#daemonize: BOOLEAN # Default: false | |
## File to redirect output | |
#log: FILE # Default: ~/log/thin.log | |
## File to store PID | |
#pid: FILE # Default: tmp/pids/thin.pid | |
## User and Group to run daemon as | |
#user: NAME | |
#group: NAME | |
## Additional text to display in process listing (ps) | |
#tag: NAME | |
### CLUSTER OPTIONS ### | |
## Number of servers to start | |
#servers: NUM | |
## Restart the cluster one by one (only works with restart command) | |
#onebyone: BOOLEAN # Default: false | |
## Maximum wait time for server to be started in seconds | |
## Use with 'onebyone' ! | |
#wait: NUM | |
### TUNING OPTIONS ### | |
## Backend to use, full classname | |
#backend: CLASS | |
## Request or command timeout in sec | |
#timeout: SEC # Default: 30 | |
## Maximum number of open file descriptors, | |
## might require sudo to set higher than 1024 | |
#max_conns: NUM # Default: 1024 | |
## Maximum number of persistent connections | |
#max_persistent_conns: NUM # Default 100 | |
## Call the Rack application in threads | |
## EXPERIMENTAL !!! | |
#threaded: BOOLEAN #Default: false | |
## Size of the EventMachine thread pool | |
#threadpool_size: NUM # Default: 20 | |
## Disable the use of epoll | |
#no-epoll: BOOLEAN # Default: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment