How to change ssl port for chef 11 omnibus server

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