Tag Info

New answers tagged

0

The frontend configuration is OK, but the backend needed a change: location / { ... proxy_set_header SCRIPT_NAME /myapplication; } location /myapplication/static/ { alias /path/to/myapplication/static/; } The relevant bit was setting SCRIPT_NAME which seems to be interpreted by Django. It would still ...


1

In my case, this error was because of my gunicorn configuration: worker_class = "sync" Which I fixed using: worker_class = "gevent" # "sync"



Top 50 recent answers are included