adapt to new nginx 1.18 folder structure

This commit is contained in:
El RIDO 2021-01-17 09:13:47 +01:00
parent b5c2b4d1fe
commit 25104d083f
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
7 changed files with 2 additions and 4 deletions

View file

@ -12,7 +12,7 @@ RUN \
php8-opcache php8-pdo_mysql php8-pdo_pgsql s6-overlay tzdata \
&& apk upgrade --no-cache \
# Remove (some of the) default nginx config
&& rm -f /etc/nginx.conf /etc/nginx/conf.d/default.conf /etc/php8/php-fpm.d/www.conf \
&& rm -f /etc/nginx.conf /etc/nginx/http.d/default.conf /etc/php8/php-fpm.d/www.conf \
&& rm -rf /etc/nginx/sites-* \
# Ensure nginx logs, even if the config has errors, are written to stderr
&& ln -s /dev/stderr /var/log/nginx/error.log \

View file

@ -70,6 +70,5 @@ http {
client_max_body_size 15M;
# Load even moar configs
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*.conf;
include /etc/nginx/http.d/*.conf;
}

View file

@ -1 +0,0 @@
/etc/nginx/sites-available/site.conf