Hi Amin,

>From first glance it seems that it could be related to your location
being '/' - although I personally haven't setup CS behind NGinx
before.
Is there any improvement if 'proxy_pass http://localhost:8080;' is
used? This should make the paths be the 'same' - although it should
all be relative anyway - worth a try.

You may also be able to see if any web errors are occurring by
profiling network on most new browsers (F12).
Also is there anything obvious in your management logs?

Let us know how you get on,
Marty

On Tue, Feb 25, 2014 at 1:57 AM, Amin Samir <[email protected]> wrote:
> Hello,
>
> I am trying to configure Nginx to reverse proxy cloud stack to offload SSL, I 
> have done the following:
> Installed the NginxCreated a virtual host with the following:server {
>     server_name  amin.com.au;
>  location / {
>         proxy_set_header X-Forwarded-Host $host;
>         proxy_set_header X-Forwarded-Server $host;
>         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>         proxy_pass http://localhost:8080/client/;
>     }
> When trying to log on to cloud stack it gives me wrong user name and 
> password.I even added the root to be root 
> /usr/share/cloudstack-management/webapps/client/; index index.jsp; (still 
> does not authenticate me).
> however when trying to log in using http://amin.com.au it authenticates me 
> and works smoothly.
>
> Any idea why is this happening.
>
> Thanks in advance for advise what might be the cause.
>
>
> Amin
>
>



-- 
Marty

Reply via email to