nginx dh #1

  • By x3v947pl
  • Latest version (#1)
  • trusty
  • Stable
  • Edge

Description

Nginx accelerates content and application delivery, improves security, facilitates availability and scalability for the busiest web sites on the Internet.


Overview:

This charm contains only nginx with configuration to proxy and load balance requests (optimized for websockets).
Charm must be deployed in the bundle with postgresql-dh, devicehive, zookeeper-dh and kafka-dh charms.
More deployment information is provided with devicehive charm.

Deploying:

juju deploy cs:~x3v947pl/trusty/nginx-dh
juju add-relation devicehive nginx-dh

Configuration:

After deployment you can set DH_PORT variable

juju set nginx-dh DH_PORT=8080

or then unset them

juju unset nginx-dh DH_PORT

Using:

After successfull deployment go to http://<ip/domain>/api/rest/info to see api endpoints.
Admin console is available here http://<ip/domain>/admin.
Login/password by default are dhadmin/dhadmin_#911.

Configuration

DH_PORT
(string) DeviceHive port
80