Run Chef Server Behind Nginx

18 Sep 2019

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
chef-server-ctl reconfigure