<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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".
<ul>
<li class="say public">
<p>If I remove the proxy server, and access directly to sunstone
server: 192.168.100.10:9869, changing "zone" from sunstone
portal works.</p>
<p>my nginx reverse proxy server setting is as below:
<br>
------------------------------------------------------------------
<br>
[root@vone_gene ~]# cat /etc/nginx/conf.d/default.conf <br>
#
<br>
# The default server
<br>
#
<br>
server {
<br>
listen 192.168.100.10:80;
<br>
server_name mycloud.alcatel-lucent.com;</p>
<p> location / {
<br>
proxy_set_header Host $host;
<br>
proxy_set_header X-Real-IP $remote_addr;
<br>
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;</p>
<p> proxy_pass <a href="http://localhost:9869" rel="nofollow"
target="_blank">http://localhost:9869</a>;
<br>
}</p>
<p> error_page 404 /404.html;
<br>
location = /404.html {
<br>
root /usr/share/nginx/html;
<br>
}</p>
<p> # redirect server error pages to the static page /50x.html
<br>
#
<br>
error_page 500 502 503 504 /50x.html;
<br>
location = /50x.html {
<br>
root /usr/share/nginx/html;
<br>
}
<br>
}</p>
<p>sunstone server settings:
<br>
---------------------------------------------
<br>
################################################################################
<br>
# Server Configuration
<br>
################################################################################</p>
<p># Directory to store temp files when uploading images
<br>
#
<br>
:tmpdir: /var/tmp</p>
<p># OpenNebula sever contact information
<br>
#
<br>
:one_xmlrpc: <a href="http://localhost:2633/RPC2"
rel="nofollow" target="_blank">http://localhost:2633/RPC2</a></p>
<p># Server Configuration
<br>
#
<br>
:host: 127.0.0.1
<br>
:port: 9869</p>
</li>
</ul>
</body>
</html>