Thanks, Oliver. This is helpful and exactly what I was looking for.
PB
On 2016-05-10 1:24 AM, Oliver Kraitschy wrote:
On Tue, May 10, 2016 at 08:03:40AM +0100, James Harrison wrote:
I'd strongly recommend plonking nginx in front of it as a reverse proxy;
this has the huge security benefit that you need not run Rails as root,
which it would need to to bind to port 80. nginx can also handle static
content serving much faster than Rails.
https://www.nginx.com/resources/admin-guide/reverse-proxy/
I'd also consider a non-default-rails server; thin is a reasonable
server, unicorn even moreso, puma if it can be threaded, and passenger
(mod_rails) performs as well as the rest.
To make this clear: i assumed that Philipp was talking about his
development environment, not about a production system. That's why i was
talking about the RoR development server. Of course it's only meant for
development purposes and you need to get a proper rails server for your
production system. And i would also recommend to use nginx as a reverse
proxy.
Greetings,
Oliver
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users