github.com/dbernstein1/tyk@v2.9.0-beta9-dl-apic+incompatible/tyk.conf.example (about)

     1  {
     2    "listen_address": "",
     3    "listen_port": 8080,
     4    "secret": "352d20ee67be67f6340b4c0605b044b7",
     5    "template_path": "/opt/tyk-gateway/templates",
     6    "use_db_app_configs": false,
     7    "app_path": "/opt/tyk-gateway/apps",
     8    "middleware_path": "/opt/tyk-gateway/middleware",
     9    "storage": {
    10      "type": "redis",
    11      "host": "localhost",
    12      "port": 6379,
    13      "username": "",
    14      "password": "",
    15      "database": 0,
    16      "optimisation_max_idle": 2000,
    17      "optimisation_max_active": 4000
    18    },
    19    "enable_analytics": false,
    20    "analytics_config": {
    21      "type": "",
    22      "ignored_ips": []
    23    },
    24    "dns_cache": {
    25      "enabled": false,
    26      "ttl": 3600,
    27      "check_interval": 60
    28    },
    29    "optimisations_use_async_session_write": true,
    30    "allow_master_keys": false,
    31    "policies": {
    32      "policy_source": "file"
    33    },
    34    "hash_keys": true,
    35    "suppress_redis_signal_reload": false,
    36    "force_global_session_lifetime": false,
    37    "max_idle_connections_per_host": 500
    38  }