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

    Interface RewriteRouteOptions

    Options for creating path rewrite routes

    interface RewriteRouteOptions {
        headers?: Record<string, string[]>;
        host: string;
        id: string;
        pathPrefix: string;
        serviceId?: string;
        upstream: string | { dial: string }[];
    }
    Index

    Properties

    headers?: Record<string, string[]>

    Additional response headers

    host: string

    Host to match

    id: string

    Route identifier

    pathPrefix: string

    Path prefix to match and strip

    serviceId?: string

    Service identifier

    upstream: string | { dial: string }[]

    Upstream backend