/caddy2-zauth

Caddy2-zauth is a HMAC(AK/SK) authentication middleware for Caddy v2.

Primary LanguageGo

Caddy2-zauth

Overview

zauth is a HMAC(AK/SK) authentication middleware for Caddy v2.

Installation

Rebuild caddy as follows:

xcaddy build --with github.com/liuzl/caddy2-zauth

Caddyfile syntax

127.0.0.1:2021 {
    zauth {
        auth_db_dir ./authdb
        auth_admin_addr 127.0.0.1:1983
    }
}