seperate location and upstream conf