Ensure that Kibana uses the same port Nginx binds to

Nginx reverse proxies requests to ElasticSearch and serves the static Kibana website. In order for Kibana to talk to ElasticSearch, it needs to direct its internal requests at Nginx, so that they can be proxied to Kibana.

This changeset also repairs the Kibana example in the `examples` directory.