How to make a bullet go through certain colliders?

I have a character rig set up with a capsule collider and then a bunch of hitbxes that are set as triggers. The bullet deletes itself when it hits the capsule and doesn’t get to the hitboxes inside. Could I put the capsule on a certain layer and the bullet will pass through it and get to the hitboxes?

You can use Physics.IgnoreCollision to specify that two specific colliders should not test for collision, or Physics.IgnoreLayerCollision to do the same for two layers.