# How to increase uwsgi\_read\_timeout 120s; inside nginx.conf in AWX

**URL:** <https://forum.ansible.com/t/how-to-increase-uwsgi-read-timeout-120s-inside-nginx-conf-in-awx/37404>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [December 1, 2022, 4:03am UTC](https://forum.ansible.com/t/how-to-increase-uwsgi-read-timeout-120s-inside-nginx-conf-in-awx/37404 "2022-12-01T04:03:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jagruti\_Belani](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Jagruti\_Belani](https://forum.ansible.com/u/Jagruti_Belani)\
**Post date:** [December 1, 2022, 4:03am UTC](https://forum.ansible.com/t/how-to-increase-uwsgi-read-timeout-120s-inside-nginx-conf-in-awx/37404/1 "2022-12-01T04:03:07Z")

</div>

Hi Team,

I want to increase **uwsgi\_read\_timeout** from 120 to 600s Inside nginx.conf on awx.

**uwsgi\_read\_timeout 120s;**

I tried to use **config-map** changes inside awx instance but it didn’t work. it threw following error:

Please help with the solution if you know.

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [December 4, 2022, 4:14pm UTC](https://forum.ansible.com/t/how-to-increase-uwsgi-read-timeout-120s-inside-nginx-conf-in-awx/37404/2 "2022-12-04T16:14:05Z")

</div>

Hi Belani,

I looks like you are trying to ConfigMap the nginx.conf via the extra\_volumes setting. The AWX operator already mounts an nginx.conf configmap via the Deployment. So, unfortunately, won’t work because the resulting Deployment yaml that gets templated will now have two nginx ConfigMap mounts, which k8s rightfully throws an error for because there are duplicate keys.

I think a better approach here would be doing an includes inside the nginx.conf and allowing users to optionally extend the nginx config in this way.

[https://github.com/ansible/awx-operator/issues/1112](https://github.com/ansible/awx-operator/issues/1112)

Thanks,  
Christian
