test/configs/tls_mixed.conf
raw| 1 | # Allow TLS and non TLS on same port. |
| 2 | |
| 3 | listen: 127.0.0.1:-1 |
| 4 | |
| 5 | tls { |
| 6 | # Server cert |
| 7 | cert_file: "./configs/certs/server-cert.pem" |
| 8 | # Server private key |
| 9 | key_file: "./configs/certs/server-key.pem" |
| 10 | # Specified time for handshake to complete |
| 11 | timeout: 2 |
| 12 | } |
| 13 | |
| 14 | # This allows non tls traffic on same port. |
| 15 | allow_non_tls: true |