add code to extract all resolving domains from the containers
This commit is contained in:
5
start.py
5
start.py
@@ -12,6 +12,9 @@ pid_file='/haproxy.pid'
|
||||
|
||||
|
||||
def hash_cert_file():
|
||||
"""Creates the sha256 hash of the certifcate file for haproxy. If the file
|
||||
does not exist, an empty string is returned.
|
||||
"""
|
||||
if not os.path.isfile(cert_file):
|
||||
return ''
|
||||
aFile = open(cert_file, 'rb')
|
||||
@@ -109,5 +112,3 @@ if __name__ == '__main__':
|
||||
start_haproxy()
|
||||
logging.info('SSL -> NON SSL')
|
||||
SSL_RUNNING=False
|
||||
# logging.info('haproxy is running: %s', str(is_haproxy_running()))
|
||||
# logging.info('haproxy is running with SSL: %s', str(SSL_RUNNING))
|
||||
|
||||
Reference in New Issue
Block a user