[one-users] web UI does not work for zone/vDC if sunstone server is behind a reverse proxy server
Liu, Gene
Gene.Liu at alcatel-lucent.com
Mon Aug 25 06:39:57 PDT 2014
Thank you Carlo!
It works after those two parameters setting.
Gene
-------------------------------
server {
listen 12.34.56.78:80;
server_name xx.yy.alcatel-lucent.com;
underscores_in_headers on;
location / {
proxy_set_header Host $host;
proxy_pass_request_headers on;
proxy_set_header Accept-Encoding "";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
proxy_pass http://localhost:9869;
}
error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
}
On 14-08-25 09:02 AM, Carlo Daffara wrote:
> You should add the two parameters
>
> underscores_in_headers on;
> proxy_pass_request_headers on;
>
> to your nginx configuration file; so that header requests are passed as-is (the first one is used to force passing headers that contain an underscore,
> as required by Sunstone)
> cheers
> carlo daffara
>
> ----- Messaggio originale -----
> Da: "Gene Liu" <Gene.Liu at alcatel-lucent.com>
> A: "Daniel Molina" <dmolina at opennebula.org>
> Cc: users at lists.opennebula.org
> Inviato: Lunedì, 25 agosto 2014 15:00:33
> Oggetto: Re: [one-users] web UI does not work for zone/vDC if sunstone server is behind a reverse proxy server
>
> Thanks Daniel!
> Could you please specify "how"?
>
> Gene
>
> On 14-08-25 06:16 AM, Daniel Molina wrote:
>> "ZONE_NAME" http header
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list