홈 › FAQ › Mac에서 Puma을(를) 실행하려면 어떻게 해야 하나요?

Mac에서 Puma을(를) 실행하려면 어떻게 해야 하나요?

Puma is the fast, multi-threaded HTTP 1.1 server for Ruby/Rack apps, and the default app server for Ruby on Rails — it is what actually serves a Rails, Sinatra or Hanami app behind Nginx/Apache/Caddy. Each request runs on a thread from a pool (default 0:16); cluster mode (-w or WEB_CONCURRENCY) also forks worker processes, each with its own pool, and preload_app! lets them share memory copy-on-write. Configure it in config/puma.rb (or -C), bind with -b tcp://127.0.0.1:9292; Rails defaults to :3000. Install the gem (gem install puma, or bundle add puma in an app) and run bundle exec puma. The optional control server (--control-url + --control-token) lets pumactl report status and restart/stop workers without dropping connections — that is also how a zero-downtime pumactl phased-restart works. BSD 3-Clause. Put a reverse proxy in front of it from Proxies & Load Balancers (the Reverse Proxy pane already has a “Rails (puma)” preset on :3000), and pair it with Sidekiq for background jobs.

FrontierStack으로 설치하거나 연결할 수 있는 항목Puma 웹 서버 카탈로그에서 설치하거나 연결한 다음, 나머지 스택과 함께 상태, 포트, 인증서를 모니터링하십시오.

Mac에서 모두 운영하십시오.

FrontierStack은 이 Mac과 연결된 서버에서 서비스를 설치, 모니터링, 보호하며 — 암호와 키는 어떤 AI에게도 보이지 않게 지킵니다.

FrontierStack 다운로드

Apple 공증 완료 · 안전 & 보안 · macOS 13 Ventura 이상

관련 질문