3 ms·
If that's your whole Caddyfile, might as well not even use a config file: caddy reverse-proxy --from sub.domain.com --to :2345 Glad you like using Caddy!
by mholt 4y ago
If that's your whole Caddyfile, might as well not even use a config file:
caddy reverse-proxy --from sub.domain.com --to :2345
Glad you like using Caddy!
- bmurphy1976 4y agoPersonally I still recommend the config file. Even when they are simple, it gives you one single source of truth that you can refer to, it will grow as you need it, and it can be stored in source control. Where and how parameters are configured is a bit more of a wild card and dependent on the environment you are running in.
- francislavoie 4y agoThat's something Matt and I tend to disagree on - I agree that a config file is better almost always because it gives you a better starting point to experiment with other features.
- mholt 4y agoHey, I mean, I do agree that a config file is "better" most of the time -- but having the CLI is just so awesome! :D