add nginx support.