config fog to public