Django web application deployed with nginx + uwsgi. If we daemonize the application, the api request using fetch is leading to a 504 Gateway Time-out. I have tried to fix it