More nginx fixes