tilegroxy docs
Only usable for server.encrypt.tls.

Description

The certificate and its private key are generated on startup and kept in memory. Nothing is written to disk and no files are needed, which makes this the quickest way to run HTTPS locally.

Clients won’t trust the certificate, so they need to skip validation (such as curl --insecure) or trust the served certificate directly. A warning is logged whenever this profile is used for server.encrypt.tls.

A new certificate is generated each time the application starts or reloads. Anything that trusted the previous certificate has to trust the new one. Each certificate is valid for one year.

Don’t use this profile in production. Use a PEM or ACME profile instead.

Example

  • YAML

  • JSON

tls:
  - name: selfsigned
    id: dev
    hosts:
      - localhost
      - tiles.test
{
  "tls": [
    {
      "name": "selfsigned",
      "id": "dev",
      "hosts": [
        "localhost",
        "tiles.test"
      ]
    }
  ]
}

Configuration

Configuration options
Parameter Description Type Required Default

ID

The unique identifier of the profile used to reference this profile elsewhere in configuration. system is reserved

string

Yes

None

MinVersion

The minimum TLS version to allow. Can be 1.2 or 1.3. Make sure to quote this in YAML so it isn’t read as a number

string

No

1.2

Hosts

The hostnames and IP addresses the certificate covers and to redirect to. Wildcards aren’t supported

string[]

No

localhost, 127.0.0.1, ::1