Customizing Nginx

  • emachnic

Oops, a subscription is required to view this video. You can enroll now to watch, or try out all that Code School has to offer with a free two-day Hall Pass.


aya said

Hello Evan,

You have a little bug in video, when you use "rewrite", mostly basically non bug but non best one way :)

Nginx docs recommends use "return" So like "return 301 $scheme://$request_uri;" "rewrite" is recommended for old versions only(prior 0.9.1).



Evan Machnic said

Hey George, I've recently made some changes on the video and audio end of things. Got some coming out soon that should be a bit better.

George said

Hey Evan, I love the last few episodes you've done and have started using it in my own application setups. Might I make a suggestion about the way you are recording audio for these screen casts? It seems to me that the gain is being push REALLY high and either very near or passed the line causing digital distortion. I'd love to chat with you can give you a few tips on how to remedy this. Thanks! :)


In this third episode of our Nginx series we'll take a look at some common rewrites that may benefit Ruby on Rails developers. We'll also review how to allow Nginx to serve multiple applications at once.