I have a requirement to run chef server on HTTP port. I have added below configuration to chef-server.rb.
nginx['enable_non_ssl'] = true
When I run curl command or browse it is redirecting to https.
<html><body>You are being <a href="https://localhost/login">redirected</a>.</body></html>
When I directly browse http://localhost/login, login page loads, but when I try to log-in, again it is redirecting to https://localhost.
Let me know if anything else to be added to chef-server.rb configuration.