aystzh / caddy2-zauth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
    }
}

About


Languages

Language:Go 100.0%