mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-15 19:10:54 +01:00
Fixed Nginx configuration on Alpine 3.14
This commit is contained in:
parent
ea6fe8fbab
commit
76edafeb24
@ -47,7 +47,7 @@ RUN set -eux && \
|
||||
php7-openssl \
|
||||
supervisor && \
|
||||
rm -rf /etc/php7/php-fpm.d/www.conf && \
|
||||
rm -f /etc/nginx/conf.d/*.conf && \
|
||||
rm -f /etc/nginx/http.d/*.conf && \
|
||||
ln -sf /dev/fd/2 /var/lib/nginx/logs/error.log && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
|
@ -67,5 +67,5 @@ http {
|
||||
index index.php;
|
||||
server_tokens off;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include /etc/nginx/http.d/*.conf;
|
||||
}
|
||||
|
@ -146,7 +146,7 @@ check_db_connect() {
|
||||
}
|
||||
|
||||
prepare_web_server() {
|
||||
NGINX_CONFD_DIR="/etc/nginx/conf.d"
|
||||
NGINX_CONFD_DIR="/etc/nginx/http.d"
|
||||
NGINX_SSL_CONFIG="/etc/ssl/nginx"
|
||||
|
||||
echo "** Adding Zabbix virtual host (HTTP)"
|
||||
|
@ -46,7 +46,7 @@ RUN set -eux && \
|
||||
postgresql-client \
|
||||
supervisor && \
|
||||
rm -rf /etc/php7/php-fpm.d/www.conf && \
|
||||
rm -f /etc/nginx/conf.d/*.conf && \
|
||||
rm -f /etc/nginx/http.d/*.conf && \
|
||||
ln -sf /dev/fd/2 /var/lib/nginx/logs/error.log && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
|
@ -67,5 +67,5 @@ http {
|
||||
index index.php;
|
||||
server_tokens off;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include /etc/nginx/http.d/*.conf;
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ check_db_connect() {
|
||||
}
|
||||
|
||||
prepare_web_server() {
|
||||
NGINX_CONFD_DIR="/etc/nginx/conf.d"
|
||||
NGINX_CONFD_DIR="/etc/nginx/http.d"
|
||||
NGINX_SSL_CONFIG="/etc/ssl/nginx"
|
||||
|
||||
echo "** Adding Zabbix virtual host (HTTP)"
|
||||
|
Loading…
Reference in New Issue
Block a user