opscode/omnibus-chef-server — pull request #14 by lamont-granquist (2013-08-14 01:41:30+00:00)
Title: fix port 80 redirect

1. redirect to whatever host we were called with no matter what api_fqdn
is set to via using $host.
2. avoid 'taxing' rewrites (http://wiki.nginx.org/Pitfalls#Taxing_Rewrites)