Question

Ruby on Rails with Nginx (unicorn and puma)

Posted November 28, 2013 4.3k 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 domain.com:9393 or domain.com:8080. How can I set to normal production and access using domain name without port numbers?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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.
Submit an Answer