mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
customcert - fix typo in job
This commit is contained in:
parent
07140a5e72
commit
cd5c662c52
1 changed files with 3 additions and 3 deletions
|
|
@ -88,8 +88,8 @@ try:
|
|||
cert_data = getenv(f"{first_server}_CUSTOM_SSL_CERT_DATA", getenv("CUSTOM_SSL_CERT_DATA", ""))
|
||||
key_data = getenv(f"{first_server}_CUSTOM_SSL_KEY_DATA", getenv("CUSTOM_SSL_KEY_DATA", ""))
|
||||
|
||||
if cert_file or cert_data and key_file or key_data:
|
||||
if isinstance(cert_file, str):
|
||||
if (cert_file or cert_data) and (key_file or key_data):
|
||||
if cert_file:
|
||||
cert_file = Path(cert_file)
|
||||
else:
|
||||
try:
|
||||
|
|
@ -99,7 +99,7 @@ try:
|
|||
skipped_servers.append(first_server)
|
||||
continue
|
||||
|
||||
if isinstance(key_file, str):
|
||||
if key_file:
|
||||
key_file = Path(key_file)
|
||||
else:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue