I have haproxy as load balancer and want to passthrough https to tyk and ssl termation at tyk. How to config ssl termination in tyk gateway.
Hi anyone update here ?
Hi @Kim,
Welcome to the community , and thank you for your patience
To passthrough https to Tyk, you need to enable TLS on the Gateway. Please view this doc.
The http_server_options section of your tyk.conf might look like this.
"http_server_options": {
"ssl_insecure_skip_verify": false,
"read_timeout": 0,
"write_timeout": 0,
"use_ssl": true,
"enable_websockets": true,
"certificates": [{
"cert_file":"/opt/tyk-gateway/certs/cert.pem",
"key_file":"/opt/tyk-gateway/certs/key.pem"
}],
"server_name": ""
},
Hope this helps.