[chef] How to change ssl port for chef 11 omnibus server [solved]


Chronological Thread 
  • From: "Serge A. Salamanka" < >
  • To:
  • Subject: [chef] How to change ssl port for chef 11 omnibus server [solved]
  • Date: Wed, 27 Feb 2013 11:16:28 +0200

As a solution to problems described here:
http://lists.opscode.com/sympa/arc/chef/2013-02/msg00145.html
http://tickets.opscode.com/browse/CHEF-3853
propose the following:
to change the ssl port of the Chef server from a standard 443 to something else one needs to edit file

/opt/chef-server/embedded/cookbooks/chef-server/templates/default/nginx.conf.erb

changing the line 79

proxy_set_header Host $host;

to

proxy_set_header Host "$host:<%= @ssl_port %>";


and then run

chef-server-ctl reconfigure


Solution tested with 11.0.4-server


Regards,

Serge



  • [chef] How to change ssl port for chef 11 omnibus server [solved], Serge A. Salamanka, 02/27/2013

Archive powered by MHonArc 2.6.16.

§