mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-30 14:51:11 +02:00
Remove default Nginx configuration on image building stage
This commit is contained in:
@ -65,6 +65,7 @@ RUN set -eux && \
|
||||
php7.2-mysql \
|
||||
php7.2-xml \
|
||||
supervisor && \
|
||||
rm -f /etc/nginx/conf.d/*.conf && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_COMMON} purge \
|
||||
wget && \
|
||||
apt-get ${APT_FLAGS_COMMON} autoremove && \
|
||||
|
@ -625,9 +625,6 @@ prepare_web_server_nginx() {
|
||||
NGINX_SSL_CONFIG="/etc/ssl/nginx"
|
||||
PHP_SESSIONS_DIR="/var/lib/php5"
|
||||
|
||||
echo "** Disable default vhosts"
|
||||
rm -f $NGINX_CONFD_DIR/*.conf
|
||||
|
||||
echo "** Adding Zabbix virtual host (HTTP)"
|
||||
if [ -f "$ZABBIX_ETC_DIR/nginx.conf" ]; then
|
||||
ln -s "$ZABBIX_ETC_DIR/nginx.conf" "$NGINX_CONFD_DIR"
|
||||
|
Reference in New Issue
Block a user