cooperate with nginx