examples/tls-proxy/conf/tls-proxy.conf
raw| 1 | # Kore as a TLS proxy configuration. |
| 2 | |
| 3 | load ./tls-proxy.so |
| 4 | |
| 5 | # |
| 6 | # Bind the proxy to a given IP and port. For every |
| 7 | # connection we receive we will call client_setup |
| 8 | # so it can kick things in action. |
| 9 | # |
| 10 | server tls { |
| 11 | bind 127.0.0.1 8888 client_setup |
| 12 | } |
| 13 | |
| 14 | # Setup domain for TLS usage. |
| 15 | domain * { |
| 16 | attach tls |
| 17 | |
| 18 | certfile cert/server.pem |
| 19 | certkey cert/key.pem |
| 20 | } |