sign inHome | Recent Changes | All Pages | HelpSearch:

Nginx Configuration

Nginx comes pre-configured and running on your Rails Boxcar.

You’ll want to make sure that you have at least already created a database user and the appropriate database for your application. If you are using our automated tools the database name should be “yourappname_production”.

Beyond this, you can automate most of the rest of the tasks. The recommended approach is the following:

  1. Log in as root, and run activate-nginx. When prompted for your deployment username enter the username you would like to use. For simplicity’s sake, this should be the same name (and same password) as your svn/git/etc user. You’ll be prompted to create the user. Answer Y, and proceed.
  2. After the user is created the app will tell you you need to deploy. At this point you should install our boxcar-conductor plugin and follow the directions to get your application deployed.
  3. After everything is all deployed, return to your root login and run activate-nginx again. Your username will have been saved from before. Just provide your application name (the same name you provided during the deployment process), and off you go. If everything goes well nginx should be all configured for you and running without a problem.

Powered by JunebugWiki v0.0.28 Last edited by alexmalinovich on July 29, 2008 10:06 PM (diff)
Version 7 (current) «olderversions