CreateWebServerPortOptions | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Interface CreateWebServerPortOptions

    interface CreateWebServerPortOptions {
        aliases?: string[];
        diskFolder?: string;
        hostname?: string;
        ipv6?: boolean;
        outputServer?: boolean;
        port?: number;
        redirectingAliases?: string[];
        secureKeyFile?: string;
        strictTransportSecurity?: number;
        virtualHost?: boolean;
        virtualHosts?: string[];
    }
    Index

    Properties

    aliases?: string[]

    Non-redirecting aliases for the first webserver.

    diskFolder?: string

    Output directory, ending in /. Defaults to a temporary pathname for output webservers.

    hostname?: string

    Set a hostname for non virtual hosts

    ipv6?: boolean

    Bind to ::1 instead of 127.0.0.1.

    outputServer?: boolean

    Create output webservers instead of backend interface webservers.

    port?: number

    TCP port to bind. Defaults to an available port; 0 only creates webservers, without a listener.

    redirectingAliases?: string[]

    Redirecting aliases for the first webserver.

    secureKeyFile?: string

    Name of a keypair in the WebHare keystore to use for HTTPS.

    strictTransportSecurity?: number

    HSTS max-age in seconds.

    virtualHost?: boolean

    Enable virtual hosting even when no virtualHosts are specified.

    virtualHosts?: string[]

    Hostnames to serve through virtual hosting.