Reputation: 12281
I know how to install apache or nginx to an ubuntu server on aws. My experience is usually with php applications where I create a virtualhost and point it towards the path of my application's index.php
I would assume since Sinatra is a rack based applications, I would need to point a virtual host to the config.ru file in my application. Is that correct?
But then how would I keep the application running continuously without my console?
Could someone please explain how to setup a Sinatra deployment on either apache or nginx? I can't find any authoritative information on the web about this.
Upvotes: 2
Views: 1894
Reputation: 4925
The Linode library is a good source for these types of things: Sinatra Framework and nginx on Debian 6
That guide is for Debian but you should be able to follow the same steps on Ubuntu.
Upvotes: 1