On Oct 10, 2011, at 11:13 AM, Ohad Levy wrote:

> On Mon, Oct 10, 2011 at 5:16 PM, Craig White <craig.wh...@ttiltd.com> wrote:
>> that always seems to redirect me to 'login' (even though I am passing the -u 
>> username:password)
>> 
> I'm guessing you have ssl redirection turned on and you are using http
> instead of https?
----
strange... just tried again and it worked

and an fyi for anyone trying to use nginx/foreman, this seems to work fairly 
well..

passenger_pre_start https://$SERVER:8142/;
server {
        server_name $SERVER;
        listen 8142;
        root /var/www/foreman/public;
        passenger_enabled on;
        passenger_min_instances 1;
        rails_env production;
        rails_spawn_method smart;
        passenger_user puppet;
        passenger_use_global_queue off;

        error_log  logs/foreman_error.log error;
        access_log logs/foreman_access.log combined;

        ssl on;
        ssl_certificate         /etc/puppet/ssl/certs/$SERVER.pem;
        ssl_certificate_key     /etc/puppet/ssl/private_keys/$SERVER.pem;
        ssl_crl                 /etc/puppet/ssl/ca/ca_crl.pem;
        ssl_session_timeout 5m;
        ssl_protocols SSLv3 TLSv1;
        ssl_ciphers 
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:!kEDH:+EXP:-SSLv2;
        ssl_prefer_server_ciphers on;
        ssl_verify_client off;
        ssl_verify_depth 1;
        ssl_session_cache builtin:1000 shared:SSL:10m;
}

Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to