How to increase uwsgi_read_timeout 120s; inside nginx.conf in AWX

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.

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

Thanks,
Christian