How does rails go online

  question, ruby

I looked up the relevant topics about rails online on the website and they were all vague. Can a great god tell me the relevant settings of nginx?
Are there any modules in nginx that need to be compiled
I know apache has mod_ruby and eruby, but I can’t connect them even if I die.

Rails app server, recommend puma or passenger, recommend unicorn and so on

Nginx is used as reverse proxy. For simple configuration, map the ports. Complex point, what gzip also configured. It is better to know more about the configuration method of nginx.

A more complicated online approach, app containerization, uses docker