added nginx config and hook patch for django