# AWX behind NGINX reverse proxy

**URL:** <https://forum.ansible.com/t/awx-behind-nginx-reverse-proxy/29114>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [November 26, 2018, 10:09am UTC](https://forum.ansible.com/t/awx-behind-nginx-reverse-proxy/29114 "2018-11-26T10:09:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Vandyy\_Vines](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Post date:** [November 26, 2018, 10:09am UTC](https://forum.ansible.com/t/awx-behind-nginx-reverse-proxy/29114/1 "2018-11-26T10:09:28Z")

</div>

Hello,

I have set up 2 AWX servers behind a Nginx proxy server to set up a Round Robin LB.

Individually by login to AWX servers the job run is fine but if connecting via Nginx LB as: https:// , it prompts error:

**Failed to access user information. GET returned status: 401**

Please Advice.

BR//  
Vandana

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [November 26, 2018, 6:27pm UTC](https://forum.ansible.com/t/awx-behind-nginx-reverse-proxy/29114/2 "2018-11-26T18:27:51Z")

</div>

This probably isn’t going to work the way that you think it will. If the AWX services are configured for two different databases then their authentication information will not be shared. If they are indeed pointed at the same database then you are going to run into some other issues because cluster information isn’t going to be synchronized. Openshift/Kubernetes is the recommended configuration for clustered AWX setup.
