Fog url from aws configuration

Use aws configurations to get fog url instead of public_url, because public_url can return an assets_host