Mysql : stunnel configuration

parent a5534d1a
......@@ -210,7 +210,8 @@ class Recipe(BaseSlapRecipe):
log = os.path.join(self.log_directory, 'stunnel.log')
pid_file = os.path.join(self.run_directory, 'stunnel.pid')
stunnel_conf = dict(
ip=ip,
ipv6=ip,
ipv4=self.getLocalIPv4Address,
port=port,
pid_file=pid_file,
log=log,
......
......@@ -10,5 +10,5 @@ cert = %(cert)s
;key = /etc/ssl/certs/stunnel.pem
[mysqls]
accept = %(ip)s:%(port)s
connect = %(external_port)s
accept = %(ipv6)s:%(port)s
connect = %(ipv4)s:%(external_port)s
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment