From c75beda743dfd6af63f512e928d0889d9ead3973 Mon Sep 17 00:00:00 2001 From: Ken Date: Sat, 9 May 2026 04:41:03 +0000 Subject: =?UTF-8?q?Initial=20commit=20=E2=80=94=20Albumen=20photo=20album?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- config/puma.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/puma.rb (limited to 'config/puma.rb') 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 -- cgit v1.2.3