Caddy – Use Environment Variables for Dynamic Processing
I wanted to use an OS environment variable to decide if a directive in a Caddyfile site block should be processed or not. This allows for some sort of URL processing or feature to be enabled / disabled without having to recode your Caddyfile. Change the environment variable from true to false and the feature can be quickly disabled (or...
READ MORE Caddy – Use Environment Variables for Dynamic Processing
