Further nginx improvements