Change headers in nginx to work with django allowed_hosts