# Auto authenticating to an embedded Kibana dashboard (on Elastic.co CLOUD)

**URL:** <https://discuss.elastic.co/t/auto-authenticating-to-an-embedded-kibana-dashboard-on-elastic-co-cloud/71248>\
**Category:** Kibana\
**Created:** [January 11, 2017, 3:52pm UTC](https://discuss.elastic.co/t/auto-authenticating-to-an-embedded-kibana-dashboard-on-elastic-co-cloud/71248 "2017-01-11T15:52:51Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![michele.pagnin](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@michele.pagnin](https://discuss.elastic.co/u/michele.pagnin)\
**Post date:** [January 12, 2017, 11:46am UTC](https://discuss.elastic.co/t/auto-authenticating-to-an-embedded-kibana-dashboard-on-elastic-co-cloud/71248/10 "2017-01-12T11:46:13Z")

</div>

@Cylindric, as @thomasneirynck wrote, I have tryed to use nginx as reverse proxy.  
This is what I wrote in configuration file:  
server {  
listen 443;  
server\_name localhost;

```
	#root html;
	#index index.html index.htm;

	ssl on;
	ssl_certificate /etc/nginx/ssl/nginx.crt;
    ssl_certificate_key /etc/nginx/ssl/nginx.key;

	ssl_session_cache shared:SSL:1m;
	ssl_session_timeout 5m;

	#ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
	#ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
	ssl_ciphers HIGH:!aNULL:!MD5;
	ssl_prefer_server_ciphers on;

	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_set_header Authorization "Basic XXXXXXXXXXXXXXXXX";
         proxy_pass https://XXXXXXXXXXXXXX.eu-west-1.aws.found.io/app/kibana;
     }
}
```

---

_[View the full topic](https://discuss.elastic.co/t/auto-authenticating-to-an-embedded-kibana-dashboard-on-elastic-co-cloud/71248)._
