3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

example-conf: enable TLS/SSL by default in all the example server blocks

This commit is contained in:
James Lu 2018-06-15 15:43:20 -07:00
parent 17cd7af22d
commit 68837aa927

View File

@ -160,8 +160,9 @@ servers:
# cause netsplits! This defaults to 30 if not set. # cause netsplits! This defaults to 30 if not set.
maxnicklen: 30 maxnicklen: 30
# Toggles SSL for this network. Defaults to False if not specified. # Toggles SSL for this network - you should seriously consider using TLS in all your links
#ssl: true # for optimal security. Defaults to False if not specified.
ssl: true
# Optional SSL cert/key to pass to the uplink server. # Optional SSL cert/key to pass to the uplink server.
#ssl_certfile: pylink-cert.pem #ssl_certfile: pylink-cert.pem
@ -266,7 +267,7 @@ servers:
recvpass: "coffee" recvpass: "coffee"
sendpass: "tea" sendpass: "tea"
#ssl: true ssl: true
#ssl_certfile: mycert.pem #ssl_certfile: mycert.pem
#ssl_keyfile: mycert.pem #ssl_keyfile: mycert.pem
hostname: "pylink.example.com" hostname: "pylink.example.com"
@ -300,7 +301,7 @@ servers:
# Note: if you are actually using dynamic DNS for an IRC link, consider enabling # Note: if you are actually using dynamic DNS for an IRC link, consider enabling
# TLS/SSL certificate checking (new in 2.0). These checks are disabled by default for # TLS/SSL certificate checking (new in 2.0). These checks are disabled by default for
# server links because self-signed certificates are still quite common. # server links because self-signed certificates are still quite common.
#ssl: true ssl: true
#ssl_accept_invalid_certs: false #ssl_accept_invalid_certs: false
#ssl_validate_hostname: true #ssl_validate_hostname: true
@ -380,6 +381,7 @@ servers:
ts6net: ts6net:
ip: 1.2.3.4 ip: 1.2.3.4
port: 7000 port: 7000
ssl: true
recvpass: "abcd" recvpass: "abcd"
sendpass: "abcd" sendpass: "abcd"
hostname: "pylink.example.com" hostname: "pylink.example.com"