Last active
March 31, 2020 19:44
-
-
Save sedkis/f5f5e09bd23fa2960f5564c5d59d8906 to your computer and use it in GitHub Desktop.
tyk.standalone.conf with elasticache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"listen_port": 8080, | |
"secret": "352d20ee67be67f6340b4c0605b044b7", | |
"template_path": "/opt/tyk-gateway/templates", | |
"tyk_js_path": "/opt/tyk-gateway/js/tyk.js", | |
"middleware_path": "/opt/tyk-gateway/middleware", | |
"use_db_app_configs": false, | |
"app_path": "/opt/tyk-gateway/apps/", | |
"storage": { | |
"type": "redis", | |
"host": "<PRIMARY_ELASTICACHE_ENDPOINT_URL>", | |
"port": 6379, | |
"username": "", | |
"password": "", | |
"database": 0, | |
"optimisation_max_idle": 2000, | |
"optimisation_max_active": 4000 | |
}, | |
"enable_analytics": false, | |
"analytics_config": { | |
"type": "csv", | |
"csv_dir": "/tmp", | |
"mongo_url": "", | |
"mongo_db_name": "", | |
"mongo_collection": "", | |
"purge_delay": -1, | |
"ignored_ips": [] | |
}, | |
"health_check": { | |
"enable_health_checks": false, | |
"health_check_value_timeouts": 60 | |
}, | |
"optimisations_use_async_session_write": true, | |
"enable_non_transactional_rate_limiter": true, | |
"enable_sentinel_rate_limiter": false, | |
"enable_redis_rolling_limiter": false, | |
"allow_master_keys": false, | |
"policies": { | |
"policy_source": "file", | |
"policy_record_name": "/opt/tyk-gateway/policies/policies.json" | |
}, | |
"hash_keys": true, | |
"close_connections": false, | |
"http_server_options": { | |
"enable_websockets": false | |
}, | |
"allow_insecure_configs": true, | |
"coprocess_options": { | |
"enable_coprocess": false, | |
"coprocess_grpc_server": "" | |
}, | |
"enable_bundle_downloader": false, | |
"bundle_base_url": "", | |
"global_session_lifetime": 100, | |
"force_global_session_lifetime": false, | |
"max_idle_connections_per_host": 500 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"listen_port": 8080, | |
"secret": "352d20ee67be67f6340b4c0605b044b7", | |
"template_path": "/opt/tyk-gateway/templates", | |
"tyk_js_path": "/opt/tyk-gateway/js/tyk.js", | |
"middleware_path": "/opt/tyk-gateway/middleware", | |
"use_db_app_configs": false, | |
"app_path": "/opt/tyk-gateway/apps/", | |
"storage": { | |
"type": "redis", | |
"host": "redis", | |
"port": 6379, | |
"username": "", | |
"password": "", | |
"database": 0, | |
"optimisation_max_idle": 2000, | |
"optimisation_max_active": 4000 | |
}, | |
"enable_analytics": false, | |
"analytics_config": { | |
"type": "csv", | |
"csv_dir": "/tmp", | |
"mongo_url": "", | |
"mongo_db_name": "", | |
"mongo_collection": "", | |
"purge_delay": -1, | |
"ignored_ips": [] | |
}, | |
"health_check": { | |
"enable_health_checks": false, | |
"health_check_value_timeouts": 60 | |
}, | |
"optimisations_use_async_session_write": true, | |
"enable_non_transactional_rate_limiter": true, | |
"enable_sentinel_rate_limiter": false, | |
"enable_redis_rolling_limiter": false, | |
"allow_master_keys": false, | |
"policies": { | |
"policy_source": "file", | |
"policy_record_name": "/opt/tyk-gateway/policies/policies.json" | |
}, | |
"hash_keys": true, | |
"close_connections": false, | |
"http_server_options": { | |
"enable_websockets": false | |
}, | |
"allow_insecure_configs": true, | |
"coprocess_options": { | |
"enable_coprocess": false, | |
"coprocess_grpc_server": "" | |
}, | |
"enable_bundle_downloader": false, | |
"bundle_base_url": "", | |
"global_session_lifetime": 100, | |
"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