# Apache revers proxy kibana AWS

**URL:** https://discuss.elastic.co/t/apache-revers-proxy-kibana-aws/34615
**Category:** Kibana
**Created:** [November 15, 2015, 10:46am UTC](https://discuss.elastic.co/t/apache-revers-proxy-kibana-aws/34615 "2015-11-15T10:46:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vukomir](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@vukomir](https://discuss.elastic.co/u/vukomir)
#### Post date: [November 15, 2015, 10:46am UTC](https://discuss.elastic.co/t/apache-revers-proxy-kibana-aws/34615/1 "2015-11-15T10:46:31Z")

</div>

Hi,

i'm taring to configure a revers Apache proxy for Kibana ES in AWS to be able to limit access via google oauth.  
current setup: [kibana.exemple.com](http://kibana.exemple.com)  
this configuration works

```
 <Location />
  AuthType openid-connect
  Require valid-user
 ProxyPass http://kibana.aws.xxxxxxxxxxxxxxxx/
 ProxyPassReverse http://kibana.aws.xxxxxxxxxxxxxxxx/
 </Location>

```

but ineed to put kibana in /aws/ location in the same vhost

```
<Location /aws/>
 AuthType openid-connect
 Require valid-user
 ProxyPass http://kibana.aws.xxxxxxxxxxxxxxxx/
 ProxyPassReverse http://kibana.aws.xxxxxxxxxxxxxxxx/
 </Location>

```

and access [exemple.com](http://kibana.exemple.com/aws/_plugin/kibana/)

kibana will fail loading and get error 😫

> Error: Not Found  
> at respond ([http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:85132:15](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:85132:15))  
> at checkRespForFailure ([http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:85100:7](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:85100:7))  
> at [http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:83738:7](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:83738:7)  
> at wrappedErrback ([http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:20902:78](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:20902:78))  
> at wrappedErrback ([http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:20902:78](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:20902:78))  
> at wrappedErrback ([http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:20902:78](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:20902:78))  
> at [http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:21035:76](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:21035:76)  
> at Scope.$eval ([http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:22022:28](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:22022:28))  
> at Scope.$digest ([http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:21834:31](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:21834:31))  
> at Scope.$apply ([http://kibana.exemple.com/\_plugin/kibana/index.js?\_b=6103:22126:24](http://kibana.exemple.com/_plugin/kibana/index.js?_b=6103:22126:24))

will apprise any input on this on this

Thanks.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:09pm UTC](https://discuss.elastic.co/t/apache-revers-proxy-kibana-aws/34615/2 "2017-07-06T14:09:03Z")

</div>


