Run Chef Server Behind Nginx

  • vi /etc/opscode/chef-server.rb
server_name = "chef.example.com" 
api_fqdn server_name
bookshelf['vip'] = server_name
nginx['url'] = "https://#{server_name}"
nginx['server_name'] = server_name
nginx['client_max_body_size'] = "1000m"
nginx['enable_non_ssl']=true
  • run chef server reconfigure
chef-server-ctl reconfigure
  • Configure nginx like any virtual server with regular http traffic
  • done

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.