# Errors when Kibana is fronted by an nginx reverse proxy

**URL:** <https://discuss.elastic.co/t/errors-when-kibana-is-fronted-by-an-nginx-reverse-proxy/94116>\
**Category:** Kibana\
**Created:** [July 21, 2017, 12:55pm UTC](https://discuss.elastic.co/t/errors-when-kibana-is-fronted-by-an-nginx-reverse-proxy/94116 "2017-07-21T12:55:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark54g](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@mark54g](https://discuss.elastic.co/u/mark54g)\
**Post date:** [July 21, 2017, 12:55pm UTC](https://discuss.elastic.co/t/errors-when-kibana-is-fronted-by-an-nginx-reverse-proxy/94116/1 "2017-07-21T12:55:36Z")

</div>

Hi, all

Having a weird one, and not able to specifically trace it to an nginx issue, though I'm not an expert there.

Getting this error:

2017/07/20 19:16:44 [crit] 21618#0: \*3 open() "/etc/nginx/client\_body\_temp/0000000001" failed (13: Permission denied), client: 10.10.0.200, server: kibana1.region1.ldap1.testdomain.local, request: "POST /elasticsearch/\_msearch HTTP/1.1", host: "kibana.region1.ldap1.testdomain.local", referrer: "[https://kibana.region1.ldap1.testdomain.local/app/kibana](https://kibana.region1.ldap1.testdomain.local/app/kibana)"

2017/07/20 19:16:44 [error] 21618#0: \*3 open() "/etc/nginx/html/50x.html" failed (13: Permission denied), client: 10.10.0.200, server: kibana1.region1.ldap1.testdomain.local, request: "POST /elasticsearch/\_msearch HTTP/1.1", host: "kibana.region1.ldap1.testdomain.local", referrer: "[https://kibana.region1.ldap1.testdomain.local/app/kibana](https://kibana.region1.ldap1.testdomain.local/app/kibana)"

This is a 1.9.9 build of nginx build with Kibana 5.3.0-1

---

<div class="post-metadata">

**Author:** ![mark54g](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@mark54g](https://discuss.elastic.co/u/mark54g)\
**Post date:** [July 21, 2017, 3:28pm UTC](https://discuss.elastic.co/t/errors-when-kibana-is-fronted-by-an-nginx-reverse-proxy/94116/2 "2017-07-21T15:28:10Z")

</div>

This issue is not a bug. I found the problem, and it was rather ridiculous and a pain to track down.

The build scripts for the nginx front end neglected a permission on /etc/nginx.

This one's in the bag.

Same issue as [Visualization/Authorization Error when using dashboards with many visualizations](https://discuss.elastic.co/t/visualization-authorization-error-when-using-dashboards-with-many-visualizations/94001)

My apologies

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [July 21, 2017, 6:38pm UTC](https://discuss.elastic.co/t/errors-when-kibana-is-fronted-by-an-nginx-reverse-proxy/94116/3 "2017-07-21T18:38:09Z")

</div>

Thanks for posting your solution, Mark! Glad you were able to figure it out. 🙂

CJ

---

<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:** [August 18, 2017, 6:38pm UTC](https://discuss.elastic.co/t/errors-when-kibana-is-fronted-by-an-nginx-reverse-proxy/94116/4 "2017-08-18T18:38:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
