Skip to content

Instantly share code, notes, and snippets.

@matiasinsaurralde
Created May 21, 2019 17:30
Show Gist options
  • Save matiasinsaurralde/350e85299675c1335b37f67efdd870d0 to your computer and use it in GitHub Desktop.
Save matiasinsaurralde/350e85299675c1335b37f67efdd870d0 to your computer and use it in GitHub Desktop.
tyk.conf
{
"listen_address": "",
"listen_port": 8080,
"secret": "352d20ee67be67f6340b4c0605b044b7",
"template_path": "/opt/tyk-gateway/templates",
"use_db_app_configs": false,
"app_path": "/opt/tyk-gateway/apps",
"middleware_path": "/opt/tyk-gateway/middleware",
"storage": {
"type": "redis",
"host": "localhost",
"port": 6379,
"username": "",
"password": "",
"database": 0,
"optimisation_max_idle": 2000,
"optimisation_max_active": 4000
},
"enable_analytics": false,
"analytics_config": {
"type": "",
"ignored_ips": []
},
"optimisations_use_async_session_write": true,
"allow_master_keys": false,
"policies": {
"policy_source": "file"
},
"coprocess_options": {
"enable_coprocess": true,
"python_path_prefix": "/opt/tyk-gateway"
},
"hash_keys": true,
"suppress_redis_signal_reload": false,
"force_global_session_lifetime": false,
"max_idle_connections_per_host": 500
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment