Setting up multiple rail applications using nginx and Puma

I have a web server serving multiple Rails applications using a combination of nginx and Passenger. It's pretty straightforward because Passenger sets up preferences for pretty much everything you need to connect to nginx.

I found a " Rails Application with Puma " which seems to explain how to create nginx and Puma together. How should this configuration be changed to serve a second Rails application on the same server?

Also, this guide doesn't say anything about restarting the app automatically if there is a system restart or some other problem. Is there a way to do this? It seems that the nginx + Passenger combo does this by default.

+3
ruby ruby-on-rails webserver nginx puma


source to share


No one has answered this question yet

See similar questions:

0
multiple rails application (2 separate domains) on one server - puma and nginx

or similar:

954
Node.js + Nginx - Now What?
941
Understanding Rails Authentication ID
876
Brief explanation of nil v. Empty v. Blank in Ruby on Rails
2
rails nginx puma duplicates upstream "puma" in / etc / nginx / sites-enabled
2
Rails / Puma with Apache HTTPD proxy?
2
Actioncable Nginx and WebSocket Puma handshake: unexpected response
1
How do I set up a Rails 3 app hosted on a sub url using Puma and nginx?
0
Deploying Rails app with ActionCable with nginx + puma using SSL
0
serving static files with Nginx and Puma Rails
0
multiple rails application (2 separate domains) on one server - puma and nginx



All Articles
Loading...
X
Show
Funny
Dev
Pics