config for localhost