Support-pl/ione

Configure Nginx on install

Closed this issue · 3 comments

Configure Nginx on install to this scheme:

cloud.base.domain         --> proxy_pass to Standard OpenNebula Sunstone at port 9869

api.ione.base.domain      --> proxy_pass to IONe API at port 8009

manage.ione.base.domain   --> serve static IONe admin UI files from /usr/lib/one/ione/ui/dist 

rake/configure_nginx.rake as result

UPD
scheme is going to be:

cloud.base.domain         --> proxy_pass to Standard OpenNebula Sunstone at port 9869

ione-api.base.domain      --> proxy_pass to IONe API at port 8009

ione-admin.base.domain    --> serve static IONe admin UI files from /usr/lib/one/ione/ui/dist 

configure_nginx.rake going to overwrite /etc/nginx.conf and generate self-signed wildcard certificate, so user would need to replace it with a valid ssl certificate, to make IONe operational

Replacing nginx.conf and adding conf.d/domain.conf with all needed hosts