Add fix 2
This commit is contained in:
parent
7e63b9a8b7
commit
523f221c25
|
@ -14,6 +14,7 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
|||
adduser \
|
||||
apt-utils \
|
||||
bomstrip \
|
||||
certbot \
|
||||
htop \
|
||||
libasound2 \
|
||||
libboost-regex-dev \
|
||||
|
|
|
@ -185,6 +185,8 @@ Below is the complete list of parameters that can be set using environment varia
|
|||
- **METRICS_HOST**: Defines StatsD listening host. Defaults to `localhost`.
|
||||
- **METRICS_PORT**: Defines StatsD listening port. Defaults to `8125`.
|
||||
- **METRICS_PREFIX**: Defines StatsD metrics prefix for backend services. Defaults to `ds.`.
|
||||
- **LETS_ENCRYPT_DOMAINS**: Defines LETS_ENCRYPT_DOMAINS.
|
||||
- **LETS_ENCRYPT_MAIL**: Defines LETS_ENCRYPT_MAIL.
|
||||
|
||||
## Installing ONLYOFFICE Document Server integrated with Community and Mail Servers
|
||||
|
||||
|
|
|
@ -608,6 +608,8 @@ service nginx start
|
|||
if [ ${LETS_ENCRYPT_DOMAINS} != "none" -a ${LETS_ENCRYPT_MAIL} != "none" ]; then
|
||||
if [ ! -f "${SSL_CERTIFICATE_PATH}" -a ! -f "${SSL_KEY_PATH}" ]; then
|
||||
letsencrypt
|
||||
update_nginx_settings
|
||||
service nginx restart
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue