Tyk v2.2 Documentation Components

  1. Home
  2. Tyk v2.2 Documentation Components
  3. Tyk Gateway Configuration

Tyk Gateway Configuration

The Tyk Gateway server is configured primarily via the tyk.conf file, this file resides in /opt/tyk-gateway on most systems, but can also live anywhere and be directly targeted with the --conf flag.

Environment variables can be used to override settings defined in the configuration file. The Tyk Gateway environment variable mappings spreadsheet shows how the JSON member keys map to the environment variables. Where an environment variable is specified, its value will take precendence over the value in the configuration file.