@accelerated-software-development/caddy-api-client - v0.4.3
    Preparing search index...

    Interface BuildProtectedRouteOptions

    Options for building a protected route

    interface BuildProtectedRouteOptions {
        dial: string;
        gatekeeperName: string;
        hosts: string[];
        paths?: string[];
        routeId?: string;
    }
    Index

    Properties

    dial: string

    Upstream dial address (host:port)

    gatekeeperName: string

    Name of the gatekeeper/policy for authorization

    hosts: string[]

    Host(s) to match

    paths?: string[]

    Path(s) to match (optional)

    routeId?: string

    Route ID for tracking