Engine Yard Developer Center

Use Nginx 1.6.0 on Engine Yard

Updated: July 18th, 2014

Nginx is the front-end for your web app, serving static assets, handling some redirects, and often handling SSL. You can use Nginx 1.6.0 with Unicorn, or Passenger 4.

Nginx 1.6 features improvements to its SSL support, SPDY 3.1 protocol support, cache revalidation with conditional requests, an auth request module, many other changes, and bug fixes. See the full list of updates for more information (1.6 incorporates features from the 1.5.x mainline branch).

Tip: This version of Nginx will become the default in the near future. We recommend that you test it before that time. (You'll need to contact Engine Yard Support to enable it; see below.)

Get started with Nginx 1.6 on Engine Yard

This document describes how to use the Nginx 1.6 features on Engine Yard.

Get help or provide feedback

If you have any issues or questions about this Early Access feature, use the Early Access Feature Feedback forum.

Prerequisites

Use Nginx 1.6

Important: We recommend testing in a staging environment before applying changes in a production environment.

To deploy a new application

  1. Ensure that your app meets all the prerequisites above.

  2. Create a new environment in the usual way (but do not boot it yet).

    Note: Your stack selections should be on the Engine Yard Gentoo 12.11 Tech Stack.

  3. Submit a ticket with Engine Yard Support.

    Be sure and let Support know the name of the environment on which you would like Nginx 1.6.

  4. Select the new Gentoo 12.11 Stack: stable-v4.

    This displays the configuration choices for your Engine Yard Gentoo 12.11 environment.

  5. Set all other options as needed for your testing environment.

  6. Click Create Environment.

  7. On the Configuration page, select the environment setup you need.

  8. Ensure that Engine Yard Support has enabled Nginx 1.6, then click Boot this Configuration.

    Your Engine Yard Gentoo 12.11 environment starts up with Nginx 1.6.

To test an existing application

Important: We recommend testing in a staging environment before applying changes in a production environment.

  1. Ensure that your app meets all the prerequisites above.

  2. Navigate to the Environment page.

  3. Submit a ticket with Engine Yard Support.

    Be sure and let Support know the name of the environment on which you would like Nginx 1.6.

  4. Ensure that Engine Yard Support has enabled Nginx 1.6, then click Apply to apply the configuration changes.

    Your Engine Yard Gentoo 12.11 environment now uses Nginx 1.6.

FAQs

You might have these questions about Nginx 1.6.

What if I try it and realize that we need to stay on a previous version of Nginx; is that possible?

Yes; Engine Yard recommends that you strive for the most recent releases. However we realize that sometimes it is not possible (at least for a while). If you need to revert, submit a ticket with Engine Yard Support and let them know the name of the environment that you need to revert.

More information

This table provides other resources related to Nginx 1.6.

For more information about...See...
Nginx 1.6 (1.5.x incorporated) list of changes http://nginx.org/en/CHANGES-1.6
Engine Yard Gentoo 12.11 (v4) tech stack Engine Yard Gentoo 12.11

If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.

Powered by Zendesk