Re: [one-users] Sunstone with nginx as reverse-proxy - server exception

2014-02-07 Thread Daniel Molina
Thank you Daniel for sharing this, we will include it in the docs On 6 February 2014 11:13, Daniel Dehennin wrote: > Daniel Molina writes: > > > On 4 February 2014 17:58, ML mail wrote: > > > >> I have found out the problem with the 403 forbidden errors, I needed to > >> pass the following HTT

Re: [one-users] Sunstone with nginx as reverse-proxy - server exception

2014-02-06 Thread Daniel Dehennin
Daniel Molina writes: > On 4 February 2014 17:58, ML mail wrote: > >> I have found out the problem with the 403 forbidden errors, I needed to >> pass the following HTTP headers in my nginx reverse proxy configuration: >> >> proxy_set_headerX-Real-IP $remote_addr; >>

Re: [one-users] Sunstone with nginx as reverse-proxy - server exception

2014-02-06 Thread ML mail
Hi Daniel, I already posted my nginx server configuration in this thread. That's all it needs, I did not change any configuration parameters on the sunstone side. Regards ML On Thursday, February 6, 2014 10:52 AM, Daniel Molina wrote: On 4 February 2014 17:58, ML mail wrote: I have f

Re: [one-users] Sunstone with nginx as reverse-proxy - server exception

2014-02-06 Thread Daniel Molina
On 4 February 2014 17:58, ML mail wrote: > I have found out the problem with the 403 forbidden errors, I needed to > pass the following HTTP headers in my nginx reverse proxy configuration: > > proxy_set_headerX-Real-IP $remote_addr; > proxy_set_header

Re: [one-users] Sunstone with nginx as reverse-proxy - server exception

2014-02-04 Thread ML mail
I have found out the problem with the 403 forbidden errors, I needed to pass the following HTTP headers in my nginx reverse proxy configuration:     proxy_set_header    X-Real-IP $remote_addr;     proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;    

Re: [one-users] Sunstone with nginx as reverse-proxy - server exception

2014-02-04 Thread ML mail
Hi Daniel, Using Firefox and Firebug I can see that actually the requests which have trouble are those using AJAX, so the design/layout of Sunstone loads but no data, everything is empty. The requests do not give a 50x error but a 403 Forbidden. Here is a few example of them taken from the Netw

Re: [one-users] Sunstone with nginx as reverse-proxy - server exception

2014-02-04 Thread Daniel Molina
Hi, On 2 February 2014 00:06, ML mail wrote: > Hi, > > I am trying to setup nginx as HTTPS reverse proxy to sunstone as described > in the OpenNebula3 book. I can get it to work up to the login screen but > once logged I get the following error message from sunstone: > > It appears there was a

[one-users] Sunstone with nginx as reverse-proxy - server exception

2014-02-01 Thread ML mail
Hi, I am trying to setup nginx as HTTPS reverse proxy to sunstone as described in the OpenNebula3 book. I can get it to work up to the login screen but once logged I get the following error message from sunstone: It appears there was a server exception. Please check server's log. Checking suns