# AWX Job page doesn't refreshed automatically when running behind Nginx Proxy.

**URL:** <https://forum.ansible.com/t/awx-job-page-doesnt-refreshed-automatically-when-running-behind-nginx-proxy/25815>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 25, 2017, 6:48am UTC](https://forum.ansible.com/t/awx-job-page-doesnt-refreshed-automatically-when-running-behind-nginx-proxy/25815 "2017-10-25T06:48:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkatesh.l](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@venkatesh.l](https://forum.ansible.com/u/venkatesh.l)\
**Post date:** [October 25, 2017, 6:48am UTC](https://forum.ansible.com/t/awx-job-page-doesnt-refreshed-automatically-when-running-behind-nginx-proxy/25815/1 "2017-10-25T06:48:49Z")

</div>

I’ve made a AWX environment in Container. Currently, I’m having AWX\_Web, AWX\_task as a separate container and setup the Nginx proxy behind of AWX\_Web. When I execute any jobs, page is not refreshed automatically. The status of the job is hang at pending. When I refreshed the page, I got successful / failed status. Do I need to adjust any configuration settings? I’m using AWX 2.4version. Kindly help me to overcome the issue.

---

<div class="post-metadata">

**Author:** ![venkatesh.l](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@venkatesh.l](https://forum.ansible.com/u/venkatesh.l)\
**Post date:** [October 25, 2017, 7:02am UTC](https://forum.ansible.com/t/awx-job-page-doesnt-refreshed-automatically-when-running-behind-nginx-proxy/25815/2 "2017-10-25T07:02:56Z")

</div>

Sorry. AWX version is 1.0.0

---

<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:** [October 25, 2017, 1:50pm UTC](https://forum.ansible.com/t/awx-job-page-doesnt-refreshed-automatically-when-running-behind-nginx-proxy/25815/3 "2017-10-25T13:50:26Z")

</div>

I don’t understand some of what you’ve written:

> AWX\_Web, AWX\_task as a separate container

This is how it is by default… are you saying you are using the default install setup? Using the standalone docker setup?

> Nginx proxy behind of AWX\_Web

You mean in front of? Browser → Proxy → AWX ?

You need to make sure whatever proxy you are using works with the websocket service that we have running on AWX also.

---

<div class="post-metadata">

**Author:** ![davidhun](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@davidhun](https://forum.ansible.com/u/davidhun)\
**Post date:** [November 7, 2017, 6:39pm UTC](https://forum.ansible.com/t/awx-job-page-doesnt-refreshed-automatically-when-running-behind-nginx-proxy/25815/4 "2017-11-07T18:39:47Z")

</div>

Short answer is to add the following to your proxy block in location of your nginx configuration and then reload:

proxy\_set\_header Upgrade $http\_upgrade;

proxy\_set\_header Connection “upgrade”;

Answer sourced from:  
[https://www.nginx.com/blog/websocket-nginx/](https://www.nginx.com/blog/websocket-nginx/)
