mirror of
https://github.com/Mailu/Mailu.git
synced 2025-06-04 23:27:34 +02:00
Ensure that we always have CERT+INTERMEDIARY CA
Let's encrypt may change things up in the future...
This commit is contained in:
parent
dccd8afd51
commit
109a8aa000
@ -42,7 +42,7 @@ def format_for_nginx(fullchain, output):
|
||||
certs += [cert]
|
||||
cert = ''
|
||||
with open(output, 'w') as pem:
|
||||
for cert in certs[:-1]:
|
||||
for cert in certs[:-1] if len(certs)>2 else certs:
|
||||
pem.write(cert)
|
||||
|
||||
# Wait for nginx to start
|
||||
|
Loading…
x
Reference in New Issue
Block a user