CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]        2016/05/27 13:10:39

Modified files:
        sysutils/ruby-puppet/3: Makefile 
Added files:
        sysutils/ruby-puppet/3/patches: 
                                        
patch-lib_puppet_network_http_rack_rest_rb 
                                        patch-lib_puppet_ssl_certificate_rb 

Log message:
Make trusted facts work with the webrick server as well as make them
available when using ruby unicorn behind apache or nginx.

Using unicorn behind apache you need to add header:

RequestHeader set X-SSL-Client-Cert %{SSL_CLIENT_CERT}e

Using unicorn behind nginx, you need to run nginx-lua flavor, then
you need:

location / {

set_by_lua $client_cert "return ngx.var.ssl_client_raw_cert:gsub('\\n',' ')";

proxy_set_header      X-SSL-Client-Cert $client_cert;

}

OK jasper@ (MAINTAINER)

Reply via email to