I know with Nginx its possible to override CSS using a sub_filter. Is it possible to do the same in Caddy? There’s a bug in one of the services I use that causes text to be black on a black background and I am trying to mitigate it until its fixed.
It’s not built-in, but you can compile Caddy with this plugin to get filtering functionality:
The maintainer hasn’t added their plugin to the new download page, so you’ll need to follow the instructions to build with xcaddy found at the link below, or if you’re running with docker, with the builder image variant (see the docker hub docs).