more nginx fixes