diff options
| author | Ken <ken@jots.org> | 2026-05-09 04:41:03 +0000 |
|---|---|---|
| committer | Ken <ken@jots.org> | 2026-05-09 04:41:03 +0000 |
| commit | c75beda743dfd6af63f512e928d0889d9ead3973 (patch) | |
| tree | bed91fd4f9d36a905be0b1ef990457a1e37e567b /config/puma.rb | |
Initial commit — Albumen photo album
Ruby/Sinatra self-hosted photo album with directory hierarchy,
per-photo captions and visibility, lightbox, slideshow, admin UI,
and Let's Encrypt HTTPS via Apache reverse proxy on prouter.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'config/puma.rb')
| -rw-r--r-- | config/puma.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/puma.rb b/config/puma.rb new file mode 100644 index 0000000..d60c643 --- /dev/null +++ b/config/puma.rb @@ -0,0 +1,9 @@ +workers 1 +threads 4, 8 + +bind 'tcp://127.0.0.1:4567' +environment ENV.fetch('RACK_ENV', 'development') + +pidfile '/opt/albumen/tmp/puma.pid' +state_path '/opt/albumen/tmp/puma.state' +stdout_redirect '/opt/albumen/log/puma.stdout.log', '/opt/albumen/log/puma.stderr.log', true |
