Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/SakuraHentai/caddy-dynamic-routing

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/SakuraHentai/caddy-dynamic-routing

  • v0.0.0-20231026001708-37557fc21184
  • Source
  • Go
  • Socket score

Version published
Created
Source

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.

FAQs

Package last updated on 26 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc