localhost based config