Ipfs gateway how to be public

i create a ipfs gateway ,but i can’t use the ipfs gateway to visit the file through the ipfs gateway ,how to change my gateway for this