Light Dark Auto

Domain

Domain object

domain

Each domain controls requests for a specific host:port. This permits different handling of requests to domains like localhost:8080 or catalog:8080 if desired. If uniform handling is required, wildcards are understood to apply to all domains. A domain set to match *:8080 will match both of the above domains.

Features

  • Virtual host:port matching and redirecting
  • GZIP of requests
  • CORS
  • Setting custom headers for downstream requests
  • SSL Config for incoming requests

Example Object

{
    "zone_key": "default-zone",
    "domain_key": "catalog",
    "name": "*",
    "port": 9080,
    "redirects": null,
    "gzip_enabled": false,
    "cors_config": null,
    "aliases": null,
    "force_https": false
}

More Info