# Deploy sunstone on Nginx

**URL:** https://forum.opennebula.io/t/deploy-sunstone-on-nginx/2832
**Category:** Product Support
**Created:** [August 28, 2016, 2:50pm UTC](https://forum.opennebula.io/t/deploy-sunstone-on-nginx/2832 "2016-08-28T14:50:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![8nebula](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/8nebula/32/4777_2.png) [@8nebula](https://forum.opennebula.io/u/8nebula)
#### Post date: [August 28, 2016, 2:50pm UTC](https://forum.opennebula.io/t/deploy-sunstone-on-nginx/2832/1 "2016-08-28T14:50:22Z")

</div>

Hello guys,

We are trying to deploy a High Availability arcithitecture. This is our deploy:

1 VM - MariaDB1  
1 VM - ONE/Sched  
1 VM’s - Sunstone on Nginx with Passenger

Everything seems to be OK, the website is working and the ONE is reaching the DB.

But the **only big** problem is when we are trying to connect the opennebula to VCenter then we get an exception with the error: _“You have to provide the vcenter username, password and hostname”_

We are trying to solve this problem for a week with no success, we checked what happens if we are using only sunstone on a seperate VM (without NGINX) and it’s working - !

We are sure it’s the NGINX - but we don’t know where is the problem !

NGINX Configuration:

_passenger\_enable on; underscores\_in\_headers on; proxy\_pass\_request\_headers on;_

Please ?

---

<div class="post-metadata">

### Author: ![vynt-kenshiro](https://avatars.discourse-cdn.com/v4/letter/v/5fc32e/32.png) [@vynt-kenshiro](https://forum.opennebula.io/u/vynt-kenshiro)
#### Post date: [August 30, 2016, 3:50pm UTC](https://forum.opennebula.io/t/deploy-sunstone-on-nginx/2832/2 "2016-08-30T15:50:18Z")

</div>

Hello,

I’m using KVM node and Nginx as reverse proxy for Sunstone. Everything work ok.

---

<div class="post-metadata">

### Author: ![8nebula](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/8nebula/32/4777_2.png) [@8nebula](https://forum.opennebula.io/u/8nebula)
#### Post date: [September 5, 2016, 9:28am UTC](https://forum.opennebula.io/t/deploy-sunstone-on-nginx/2832/3 "2016-09-05T09:28:36Z")

</div>

No one ? we stuck here …

---

<div class="post-metadata">

### Author: ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)
#### Post date: [September 7, 2016, 9:43am UTC](https://forum.opennebula.io/t/deploy-sunstone-on-nginx/2832/4 "2016-09-07T09:43:55Z")

</div>

the underscores in headers NGINX configuration should do the trick.

In any case, we are tackling this for the upcoming (shortly) 5.2 release:

[http://dev.opennebula.org/issues/4286](http://dev.opennebula.org/issues/4286)

I suggest waiting for this release to get this working.
