fix filters cannot works bug when using nginx