github.com/Tyktechnologies/tyk@v2.9.5+incompatible/images/hybrid/tyk/tyk.conf (about)

     1  {
     2    "listen_port": 8080,
     3    "secret": "12345",
     4    "template_path": "./templates",
     5    "tyk_js_path": "./js/tyk.js",
     6    "middleware_path": "./middleware",
     7    "use_db_app_configs": false,
     8    "app_path": "./apps/",
     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": true,
    20    "analytics_config": {
    21      "type": "rpc",
    22      "csv_dir": "/tmp",
    23      "mongo_url": "localhost",
    24      "mongo_db_name": "tyk_analytics",
    25      "mongo_collection": "tyk_analytics",
    26      "purge_delay": 10,
    27      "ignored_ips": [],
    28      "enable_geo_ip": true,
    29      "geo_ip_db_path": "/opt/tyk-gateway/GeoLite2-City.mmdb",
    30      "normalise_urls": {
    31        "enabled": true,
    32        "normalise_uuids": true,
    33        "normalise_numbers": true,
    34        "custom_patterns": []
    35      }
    36    },
    37    "health_check": {
    38      "enable_health_checks": false,
    39      "health_check_value_timeouts": 60
    40    },
    41    "optimisations_use_async_session_write": true,
    42    "allow_master_keys": false,
    43    "policies": {
    44      "policy_source": "rpc",
    45      "policy_record_name": "tyk_policies"
    46    },
    47    "hash_keys": true,
    48    "suppress_redis_signal_reload": false,
    49    "use_sentry": false,
    50    "sentry_code": "",
    51    "enforce_org_data_age": true,
    52    "http_server_options": {
    53      "enable_websockets": true
    54    },
    55    "monitor": {
    56      "enable_trigger_monitors": true,
    57      "configuration": {
    58        "method": "POST",
    59        "target_path": "http://cloud.tyk.io/1337/tyk/webhook",
    60        "template_path": "templates/monitor_template.json",
    61        "header_map": {
    62          "x-tyk-monitor-secret": "sjdkfhjKHKJHkjsdhsufdudfhjHKIHJ1"
    63        },
    64        "event_timeout": 10
    65      },
    66      "global_trigger_limit": 80.0,
    67      "monitor_user_keys": false,
    68      "monitor_org_keys": true
    69    },
    70    "slave_options": {
    71      "use_rpc": true,
    72      "rpc_key": "",
    73      "api_key": "",
    74      "connection_string": "hybrid.cloud.tyk.io:9091",
    75      "use_ssl": true,
    76      "rpc_pool_size": 20,
    77      "enable_rpc_cache": true,
    78      "bind_to_slugs": true
    79    },
    80    "local_session_cache": {
    81      "disable_cached_session_state": false,
    82      "cached_session_timeout": 5,
    83      "cached_session_eviction": 10
    84    },
    85    "enforce_org_quotas": false,
    86    "experimental_process_org_off_thread": true,
    87    "enable_non_transactional_rate_limiter": true,
    88    "enable_sentinel_rate_limiter": false,
    89    "auth_override": {
    90      "force_auth_provider": true,
    91      "auth_provider": {
    92        "name": "",
    93        "storage_engine": "rpc",
    94        "meta": {}
    95      }
    96    },
    97    "enable_context_vars": true,
    98    "hostname": "",
    99    "enable_api_segregation": false,
   100    "control_api_hostname": "",
   101    "enable_custom_domains": true,
   102    "enable_jsvm": true,
   103    "coprocess_options": {
   104      "enable_coprocess": false
   105    },
   106    "hide_generator_header": false,
   107    "event_handlers": {
   108      "events": {}
   109    },
   110    "pid_file_location": "./tyk-gateway.pid",
   111    "allow_insecure_configs": true,
   112    "public_key_path": "",
   113    "close_idle_connections": false,
   114    "allow_remote_config": false,
   115    "enable_bundle_downloader": true,
   116    "service_discovery": {
   117      "default_cache_timeout": 20
   118    },
   119    "close_connections": false,
   120    "max_idle_connections_per_host": 500,
   121    "disable_dashboard_zeroconf": true
   122  }