On Wed, Aug 15, 2018 at 4:22 PM, [email protected] <[email protected]> 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,
-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBthCAkUd5aD21a4p%3D6x-cnKbSv1P2YDES5yyitv6hSqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to