The correct glob pattern would be this:

   fossil setting ignore-glob '*.bar/*'