There is a third relevant setting: enable page publishing
All together it allows you to have a private community site, while also publishing specific pages (such as information for joining, a pricing page, etc.) that may be viewed without logging in.