Hi,
Sunstone server uses the ZONE_NAME http header to define the opennebula
endpoint, you have to forward it.
Cheers
On 21 August 2014 20:54, Liu, Gene gene@alcatel-lucent.com wrote:
After I setup a proxy server (ngnix) before sunstone server on master.
From Sunstone UI
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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
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
-
Liu, Gene gene@alcatel-lucent.com writes:
Thanks Daniel!
Could you please specify how?
Using nginx, I have this in /etc/nginx/site-available/opennebula-sunstone:
#+begin_src
upstream sunstone {
server 127.0.0.1:9869;
}
server {
listen 80 default_server;
listen
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_headerHost $host;
After I setup a proxy server (ngnix) before sunstone server on master.
From Sunstone UI (192.168.100.10), I can not change zone to zone1.
Other functions work well from sunstone UI, but changing zone.
*
If I remove the proxy server, and access directly to sunstone
server: