Tyk dashboard config:
"listen_port": 3000,
"tyk_api_config": {
"Host": "http://localhost",
"Port": "9090",
"Secret": "*****"
},
"mongo_url": "mongo_url",
"page_size": 10,
"admin_secret": "****",
"shared_node_secret": "***",
"redis_port": 6379,
"redis_host": "redis_host",
"redis_password": "",
"force_api_defaults": false,
"notify_on_change": true,
"license_owner": "Zhou Tan",
"license_key": "*****",
"hash_keys": true,
"email_backend": {},
"hide_listen_path": false,
"use_sentry": false,
"sentry_code": "",
"sentry_js_code": "",
"show_org_id": false,
"enable_duplicate_slugs": true,
"host_config" : {
"override_hostname": "api.example.com",
"disable_org_slug_prefix": true,
"enable_host_names": false,
"hostname": "127.0.0.1",
"portal_domains": {},
"portal_root_path": "/portal"
},
"http_server_options": {
"use_ssl": false,
"certificates": [
{}
]
},
"ui": {
"login_page": {},
"nav" : {},
"uptime": {},
"portal": {},
"designer": {}
},
"home_dir": "/opt/tyk-dashboard"```
gateway config file:
```{
"listen_port": 9090,
"secret": "***",
"template_path": "/opt/tyk-gateway/templates",
"tyk_js_path": "/opt/tyk-gateway/js/tyk.js",
"node_secret": "****",
"use_db_app_configs": true,
"db_app_conf_options": {
"connection_string": "http://localhost:3000",
"node_is_segmented": false,
"tags": []
},
"app_path": "/opt/tyk-gateway/apps",
"middleware_path": "/opt/tyk-gateway/middleware",
"storage": {
"type": "redis",
"host": "redis.host.io",
"port": 6379,
"username": "",
"password": "",
"database": 0,
"optimisation_max_idle": 500,
"optimisation_max_active": 800
},
"enable_analytics": false,
"health_check": {
"enable_health_checks": true,
"health_check_value_timeouts": 60
},
"optimisations_use_async_session_write": true,
"allow_master_keys": false,
"policies": {
"policy_source": "service",
"policy_connection_string": "http://localhost:3000"
},
"hash_keys": true,
"suppress_redis_signal_reload": false,
"close_connections": true,
"local_session_cache": {
"disable_cached_session_state": true
},
"uptime_tests": {
"disable": false,
"config": {
"enable_uptime_analytics": true,
"failure_trigger_sample_size": 3,
"time_wait": 300,
"checker_pool_size": 50
}
},
"hostname": "",
"enable_custom_domains": true,
"enable_jsvm": true
}```
There might be some legacy config options there as I upgraded from v1.9