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
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.