This page is about Caddy 1, but Caddy 2 is now in beta. Click here for Caddy 2. Thank you for your patience as we transition!

User Guide

redis
Plugin

This plugin allows Caddy to use Redis to store and share TLS data across multiple Caddy instances in a cluster.

Full documentation

Examples

Examples
export CADDY_CLUSTERING="redis" # set Redis Host export CADDY_CLUSTERING_REDIS_HOST="127.0.0.1" # set Redis Port export CADDY_CLUSTERING_REDIS_PORT="6379" # set Redis DB export CADDY_CLUSTERING_REDIS_DB="9" # set Redis Password export CADDY_CLUSTERING_REDIS_PASSWORD=""

The plugin is configured using environment variables. Be sure to enable Redis cluster support setting CADDY_CLUSTERING to "redis".

Related Links
Documentation

Access the full documentation for this plugin off-site:

Docs
Plugin Help

Get help from the maintainers of the redis plugin:

Support
Plugin Website

Visit redis's website for more information:

Website
Plugin Author: Gamal Abdul Nasser
Last Updated: 15 Aug 2019, 7:29 AM
This plugin is independent of the Caddy project and is not endorsed or maintained by Caddy developers. Use at your own risk. Do not file issues for this plugin on Caddy's bug tracker.