[chef] run chef server on different URL


Chronological Thread 
  • From: < >
  • To: < >
  • Subject: [chef] run chef server on different URL
  • Date: Fri, 10 Sep 2010 10:03:00 +0200

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 think that It should be possible via some merb route configuration but do'nt know how do do
 
 
 
 
 
 
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.
Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------



Archive powered by MHonArc 2.6.16.

§