I built a site, MyExample.com that now uses CloudFlare, thus proxying traffic. Which, understandably, prevents Trellis from deploying via MyExample.com. I’m aware I can connect via IP or an unproxied CName (Ex. ssh.MyExample.com). But I am unclear about which file(s) I edit in Trellis so the deploy uses the IP or unproxied domain.
I think that editing the hosts
file for production would do the trick, but I am afraid to changing such critical settings and destroy or damage a production environment.
Is it as simple as update the URL there? Or is there more to it?