- From: Jon Wood <
>
- To:
- Subject: [chef] Re: run chef server on different URL
- Date: Fri, 10 Sep 2010 11:02:26 +0100
On 10 September 2010 09:03,
<
>
wrote:
>
Do you know how to run chef server so a client can access it using e.g.
>
http://mychefserver:4000/chef-server-api ?
>
>
I need it because I have frontend apache proxy that is used by
>
many different clients including chef-client.
>
>
I have configured the proxy to to forward requests
>
https://myproxy/chef-server-api to http://mychefserver:4000/
>
but it does not work as the mixlib-authentication library used by
>
chef-client use URI PATH for creating signature
>
and because the leading part of the URI PATH for the original request was
>
cut off by the proxy, the chef-server receives different
>
URI PATH, calculate a non matched signature and authentication of the
>
request fails.
>
I'd try using this configuration by Miguel Cabeç and Jonathan Matthews
as a starting point:
http://jpluscplusm.com/blog/2010/07/06/hosting-a-chef-webui-and-api-behind-the-same-ip-port-and-ssl-certificate/
Jon
Archive powered by MHonArc 2.6.16.