Hello. Please tell me. I have configured server for CentOS, according to the instructions
Now I want to transfer it to the Docker container. How would the issue lie in the fact that from this statement I know that Nginx will start up the Rails server c Passenger.
server { listen 80; server_name yourserver.com; # Tell Nginx and Passenger where your app's 'public' directory is root /var/www/myapp/code/public; # Turn on Passenger passenger_enabled on; passenger_ruby /path-to-ruby; }
And ideology of each Docker container is now single server, and now Rail and Nginx should be divided, and as it correctly to make what Nginx is started the Rails server, or even how to make?
Thank you.