Ruby on Rails with Nginx (unicorn and puma)

November 28, 2013 4.2k 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.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!