OnionTrafficOnly + Whonix-Gateway

I am trying to configure my whonix-gateway instance so it only can access to onion sites
Reading the tor doc I found there is a flag: OnionTrafficOnly
My question is, do I have to set that flag for every SocksPort on the tor-service-defaults-torrc file?

Thanks in advance

Free Support for Whonix ™ applies.