THIN(1)
hey bestie π welcome to the thin page β yes, section 1, user commands, the whole vibe. thin is that girl: a web server for Ruby that is fast and extremely not complicated. Let's get into it π«Ά
πΈ NAME πΈ
thin β fast and very simple Ruby web server β¨
π SYNOPSIS π
thin [options] start|stop|restart|config|install
likeβ¦ you pick your options, then you tell it what to do. iconic behavior honestly π
β¨ DESCRIPTION β¨
okay so here's the whole menu of options, grouped by vibe. every single one, no skips, we're not doing that here π
π₯οΈ Server options
-a,--address HOSTβ bind to theHOSTaddress (default:0.0.0.0)-p,--port PORTβ usePORT(default:3000)-S,--socket FILEβ bind to a unix domain socket-y,--swiftiply [KEY]β run using swiftiply-A,--adapter NAMEβ which Rack adapter to use (default: autodetect) β your choices arerack,rails,ramaze,merb,file-R,--rackup FILEβ load a Rack config file instead of a Rack adapter-c,--chdir DIRβ change todirbefore starting--stats PATHβ mount the Stats adapter underPATH
π SSL options
--sslβ enables SSL--ssl-key-file PATHβ path to private key--ssl-cert-file PATHβ path to certificate--ssl-disable-verifyβ disables (optional) client cert requests--ssl-version VERSIONβTLSv1,TLSv1_1,TLSv1_2--ssl-cipher-list STRINGβ example:HIGH:!ADH:!RC4:-MEDIUM:-LOW:-EXP:-CAMELLIA
π§© Adapter options
-e,--environment ENVβ framework environment (default:development)--prefix PATHβ mount the app underPATH(start with/)
π Daemon options
-d,--daemonizeβ run daemonized in the background-l,--log FILEβ file to redirect output (default:/build/thin-1XBQn3/thin-1.8.2+git20250216.de6b618/log/thin.log)-P,--pid FILEβ file to store PID (default:tmp/pids/thin.pid)-u,--user NAMEβ user to run daemon as (use with-g)-g,--group NAMEβ group to run daemon as (use with-u)--tag NAMEβ additional text to display in process listing
π― Cluster options
-s,--servers NUMβ number of servers to start-o,--only NUMβ send command to only one server of the cluster-C,--config FILEβ load options from config file--all [DIR]β send command to each config files inDIR-O,--onebyoneβ restart the cluster one by one (only works with therestartcommand)-w,--wait NUMβ maximum wait time for server to be started in seconds (use with-O)
β‘ Tuning options
-b,--backend CLASSβ backend to use, full classname-t,--timeout SECβ request or command timeout in sec (default:30)-f,--forceβ force the execution of the command--max-conns NUMβ maximum number of open file descriptors (default:1024). might require sudo to set higher than1024π--max-persistent-conns NUMβ maximum number of persistent connections (default:100)--threadedβ call the Rack application in threads [experimental]--threadpool-size NUMβ sets the size of the EventMachine threadpool. (default:20)--no-epollβ disable the use of epoll
π Common options
-r,--require FILEβ require the library-q,--quietβ silence all logging-D,--debugβ enable debug logging-V,--traceβ set tracing on (log raw request/response)-h,--helpβ show this message-v,--versionβ show version
bestie the --threaded flag is experimental, ok? treat it with respect π
π SEE ALSO π
the full documentation for thin is maintained as a Texinfo manual π so if the info and thin programs are properly installed at your site, this command:
info thin
should give you access to the complete manual. literally the whole thing, no cap β¨
and that's the whole page!! π this is thin version 1.8.2, codename Ruby Razor, dated February 2026. go off, run your little Ruby server, you're the main character now ππ π¦
π¦ where this page comes from
- ubuntu resolute: thin 1.8.2+git20250216.de6b618-1ubuntu2 Β· Ruby
- ubuntu stonking: thin 1.8.2+git20250216.de6b618-1ubuntu2 Β· Ruby
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms