Ruby on Rails with Nginx (unicorn and puma)

November 28, 2013 2.8k views
I have recnetly trying to setup my RoR on nginx (not using the one click install). When I try to run the unicorn or puma server. The setting are in development environment and I can only access they througt or How can I set to normal production and access using domain name without port numbers?
1 Answer
You will have to use nginx to reverse proxy to puma/unicorn. Please pastebin your nginx config files.

As for running your apps in the production environments, you will have to modify unicorn/puma to run them in the production environment.
Have another answer? Share your knowledge.