Django don't get the good URI when using nginx -
Django don't get the good URI when using nginx -
when using nginx proxy request, django go on believe site url 127.0.0.1:myport.
add settings.py:
use_x_forwarded_host = true it tell django utilize x-forwarded-host header nginx pass.
django nginx gunicorn
Comments
Post a Comment