Fix compatibility with older nginx projects