mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-17 19:37:02 +00:00
Fixing nginx configuration when ssl certificate doesn't exist
This commit is contained in:
@@ -19,7 +19,6 @@ _addSslConfig() {
|
||||
echo "ssl_certificate ${SSL_CERTIFICATE};" >> ${FILE_CONF};
|
||||
echo "ssl_certificate_key ${SSL_CERTIFICATE_KEY};" >> ${FILE_CONF};
|
||||
else
|
||||
echo 'listen 80;' >> ${FILE_CONF};
|
||||
echo "ssl ${1} not found >> ${SSL_CERTIFICATE} -> ${SSL_CERTIFICATE_KEY}"
|
||||
fi;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user