more nginx compatibility