On Wed, Aug 15, 2018 at 4:22 PM,
j...@via.net <
j...@via.net> wrote:
> Can I run puma in production or do I ned to setup nginx?
Having a separate proxy like nginx or Apache httpd in front of your
app server (puma, unicorn, etc.) is definitely recommended.
A proxy can more efficiently serve static assets, handle your SSL
termination, redirect http -> https, return a static "sorry" page for
maintenance, drop obviously bogus requests (e.g. "admin.php"),
split requests to different applications based on the URL, etc., etc.
I've never run an app in production without one so ¯\_(ツ)_/¯
HTH,