Categorygithub.com/SakuraHentai/caddy-dynamic-routing
modulepackage
0.0.0-20231026001708-37557fc21184
Repository: https://github.com/sakurahentai/caddy-dynamic-routing.git
Documentation: pkg.go.dev

# README

Caddy dynamic routing & certificate plugin

Usage

xcaddy build --with github.com/SakuraHentai/caddy-dynamic-routing

Syntax Example

See Caddyfile

Dev build

Run ./build.sh

Redis Data Structure

Use Hash with key ${prefix}:${host}, and field by tokenKey & certKey

Motivation

In the Saas business model, a tenant identifies their site by token, for example abc.example.com.

At this point, we would allow them to bind their own domain to their site, establishing a relationship between www.self-domain.com -> abc.example.com.

This is what routing does.

Using dynamic certificates instead of acme is more of a business model, such as selling ssl certificates.

# Structs

No description provided by the author
No description provided by the author