title: Disable ssl on Chef-server?
body: <p>I have setup <code>nginx['enable_non_ssl']=true</code> in the <code>/etc/opscode/chef-server.rb</code> file and run <code>chef-server-ctl reconfigure</code> but I still get a redirect when I try to curl the http port for chef which kind of defeats the purpose of this setting. See errors below.</p>
  
  <p>My <code>chef-server.rb</code> file:</p>
  
  <blockquote>
    <p>cat /etc/opscode/chef-server.rb</p>
  </blockquote>
  
  <pre><code>nginx['enable_non_ssl']=true
  nginx['non_ssl_port']=80
  </code></pre>
  
  <p>Running reconfigure:</p>
  
  <blockquote>
    <p>chef-server-ctl reconfigure</p>
  </blockquote>
  
  <pre><code>Starting Chef Client, version 12.0.3
  resolving cookbooks for run list: ["private-chef::default"]
  [2015-05-25T13:12:26+00:00] WARN: Cookbook 'local-mode-cache' is empty or entirely chefignored at /opt/opscode/embedded/cookbooks/local-mode-cache
  [2015-05-25T13:12:26+00:00] WARN: Cookbook 'local-mode-cache' is empty or entirely chefignored at /opt/opscode/embedded/cookbooks/local-mode-cache
  [2015-05-25T13:12:26+00:00] WARN: Cookbook 'local-mode-cache' is empty or entirely chefignored at /opt/opscode/embedded/cookbooks/local-mode-cache
  ....
  </code></pre>
  
  <p>Curl command showing that I still get redirected:</p>
  
  <blockquote>
    <p>curl <a href="http://chef-xxx.xxxxxx.com" rel="nofollow">http://chef-xxx.xxxxxx.com</a></p>
  </blockquote>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;title&gt;301 Moved Permanently&lt;/title&gt;&lt;/head&gt;
  &lt;body bgcolor="white"&gt;
  &lt;center&gt;&lt;h1&gt;301 Moved Permanently&lt;/h1&gt;&lt;/center&gt;
  &lt;hr&gt;&lt;center&gt;openresty/1.7.10.1&lt;/center&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How do I get a working chef-server up?</p>