mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2026-05-05 04:06:26 +02:00
Removed unneeded check for Let's encrypt cert.pem (Closes: #843)
This commit is contained in:
parent
a73692cc9f
commit
34cb3a14cc
@ -782,8 +782,7 @@ function _setup_ssl() {
|
||||
case $SSL_TYPE in
|
||||
"letsencrypt" )
|
||||
# letsencrypt folders and files mounted in /etc/letsencrypt
|
||||
if [ -e "/etc/letsencrypt/live/$HOSTNAME/cert.pem" ] \
|
||||
&& [ -e "/etc/letsencrypt/live/$HOSTNAME/fullchain.pem" ]; then
|
||||
if [ -e "/etc/letsencrypt/live/$HOSTNAME/fullchain.pem" ]; then
|
||||
KEY=""
|
||||
if [ -e "/etc/letsencrypt/live/$HOSTNAME/privkey.pem" ]; then
|
||||
KEY="privkey"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user