caddy-tlsredis
caddy-tlsredis copied to clipboard
Move hardcoded certificated to redis
Currently, I put the certificate on the server like this:
*.example.com {
...
tls /etc/caddy/ssl/example.crt /etc/caddy/ssl/example.key
}
If I want to put the certificate on the redis using caddy-tlsredis, what should I put on the config? Can you give me an example? Thank you.
It's not possible via Caddyfile but you may use the load_storage
loader via JSON config https://caddyserver.com/docs/json/apps/tls/certificates/load_storage/
Can you give me an example of using the load_storage? I still don't get how can I achieve it using that method.