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: 192.168.100.10:9869, changing "zone" from sunstone portal works.

    my nginx reverse proxy server setting is as below:
    ------------------------------------------------------------------
    [root@vone_gene ~]# cat /etc/nginx/conf.d/default.conf
    #
    # The default server
    #
    server {
    listen 192.168.100.10:80;
    server_name mycloud.alcatel-lucent.com;

    location / {
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_pass http://localhost:9869;
    }

    error_page 404 /404.html;
    location = /404.html {
    root /usr/share/nginx/html;
    }

    # redirect server error pages to the static page /50x.html
    #
    error_page 500 502 503 504 /50x.html;
    location = /50x.html {
    root /usr/share/nginx/html;
    }
    }

    sunstone server settings:
    ---------------------------------------------
    
################################################################################

    # Server Configuration
    
################################################################################

    # Directory to store temp files when uploading images
    #
    :tmpdir: /var/tmp

    # OpenNebula sever contact information
    #
    :one_xmlrpc: http://localhost:2633/RPC2

    # Server Configuration
    #
    :host: 127.0.0.1
    :port: 9869

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to