adapt to new nginx 1.18 folder structure
This commit is contained in:
parent
b5c2b4d1fe
commit
25104d083f
7 changed files with 2 additions and 4 deletions
|
@ -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 \
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
/etc/nginx/sites-available/site.conf
|
Loading…
Add table
Add a link
Reference in a new issue