title: tornadoweb gzip=True not working under supervisord and nginx
body: <p>While working with tornado, I've discovered gzip=True feature, which works fine while running application from command line, below settings:</p>
  
  <pre><code>define("port", default=settings.LISTEN_PORT, help="run on the given port", type=int)
  define("debug", default=True, help="run in debug mode", type=bool)
  define("dont_optimize_static_content", default=False,
         help="Don't combine static resources", type=bool)
  define("dont_embed_static_url", default=False,
         help="Don't put embed the static URL in static_url()", type=bool)
  
  tornado.options.parse_command_line()
  tornado.options.options['log_file_prefix'].set('/var/log/tmp.log')
  
  app_settings = dict(
      template_path=os.path.join(os.path.dirname(__file__), "templates"),
      static_path=os.path.join(os.path.dirname(__file__), "static"),
      xsrf_cookies=False,
      gzip=True,
      debug=True,
  )
  </code></pre>
  
  <p>However, deploying app with supervisord/nginx responses from tornado servers are not gziped. </p>
  
  <pre><code>[program:app-8001]
  command=python /var/app/server/app.py --port=8001 --logging=debug ----dont_optimize_static_content=False
  directory=/var/app/server/
  stderr_logfile = /var/log/app-stderr.log
  stderr_logfile_backups=10
  stdout_logfile = /var/log/app-stdout.log
  stdout_logfile_backups=10
  process_name=%(program_name)s
  loglevel=debug
  </code></pre>
  
  <p>Any ideas what am i doing wrong?</p>