arrange the local config of http