Deleted
Added
tls.py (1019:61d90b4da691) | tls.py (1041:9bdd46610ea9) |
---|---|
1import ssl 2import subprocess 3from unit.applications.proto import TestApplicationProto 4 5 6class TestApplicationTLS(TestApplicationProto): 7 def __init__(self, test): 8 super().__init__(test) --- 64 unchanged lines hidden (view full) --- 73distinguished_name = req_distinguished_name 74[ req_distinguished_name ]""" 75 ) 76 77 script_path = self.current_dir + '/python/' + script 78 79 self.conf( 80 { | 1import ssl 2import subprocess 3from unit.applications.proto import TestApplicationProto 4 5 6class TestApplicationTLS(TestApplicationProto): 7 def __init__(self, test): 8 super().__init__(test) --- 64 unchanged lines hidden (view full) --- 73distinguished_name = req_distinguished_name 74[ req_distinguished_name ]""" 75 ) 76 77 script_path = self.current_dir + '/python/' + script 78 79 self.conf( 80 { |
81 "listeners": {"*:7080": {"application": name}}, | 81 "listeners": {"*:7080": {"pass": "applications/" + name}}, |
82 "applications": { 83 name: { 84 "type": "python", 85 "processes": {"spare": 0}, 86 "path": script_path, 87 "working_directory": script_path, 88 "module": "wsgi", 89 } 90 }, 91 } 92 ) | 82 "applications": { 83 name: { 84 "type": "python", 85 "processes": {"spare": 0}, 86 "path": script_path, 87 "working_directory": script_path, 88 "module": "wsgi", 89 } 90 }, 91 } 92 ) |