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

    Interface AutomaticHttpsConfigOptions

    Options for buildAutomaticHttpsConfig. Mirrors Caddy core's generated AutoHTTPSConfig (camelCased for the TypeScript API, but emitted to Caddy's snake_case shape).

    interface AutomaticHttpsConfigOptions {
        disable?: boolean;
        disableCertificates?: boolean;
        disableRedirects?: boolean;
        ignoreLoadedCertificates?: boolean;
        skip?: string[];
        skipCerts?: string[];
    }
    Index

    Properties

    disable?: boolean

    Sets automatic_https.disable: true (entire pipeline off).

    disableCertificates?: boolean

    Sets automatic_https.disable_certificates: true (cert mgmt off, redirects stay).

    disableRedirects?: boolean

    Sets automatic_https.disable_redirects: true.

    ignoreLoadedCertificates?: boolean

    Sets automatic_https.ignore_loaded_certificates: true.

    skip?: string[]

    Hostnames to add to automatic_https.skip — Caddy disables automatic HTTPS (cert acquisition AND HTTP→HTTPS redirect) for these. Internal hosts (see isInternalHost) are filtered out and duplicates are de-duplicated.

    skipCerts?: string[]

    Hostnames to add to automatic_https.skip_certificates — Caddy will not obtain certs for these but will still install the HTTP→HTTPS redirect. Use when the host is reachable on HTTPS via a manually- loaded cert.