php config stability, addresses #147
This commit is contained in:
parent
d7f8653f20
commit
3e380f2a41
4 changed files with 6 additions and 3 deletions
|
@ -35,8 +35,11 @@ RUN \
|
|||
&& apk upgrade --no-cache \
|
||||
&& apk add --no-cache gnupg git nginx php81 php81-fpm php81-gd php81-opcache \
|
||||
s6 tzdata ${ALPINE_PACKAGES} ${ALPINE_COMPOSER_PACKAGES} \
|
||||
# Remove (some of the) default nginx config
|
||||
&& rm -f /etc/nginx.conf /etc/nginx/http.d/default.conf /etc/php81/php-fpm.d/www.conf \
|
||||
# Stabilize php config location
|
||||
&& mv /etc/php81 /etc/php \
|
||||
&& ln -s /etc/php /etc/php81 \
|
||||
# Remove (some of the) default nginx & php config
|
||||
&& rm -f /etc/nginx.conf /etc/nginx/http.d/default.conf /etc/php/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 \
|
||||
|
|
|
@ -60,7 +60,7 @@ Note: The `Filesystem` data storage is supported out of the box. The image inclu
|
|||
|
||||
### Adjusting nginx or php-fpm settings
|
||||
|
||||
You can attach your own `php.ini` or nginx configuration files to the folders `/etc/php81/conf.d/` and `/etc/nginx/http.d/` respectively. This would for example let you adjust the maximum size these two services accept for file uploads, if you need more then the default 10 MiB.
|
||||
You can attach your own `php.ini` or nginx configuration files to the folders `/etc/php/conf.d/` and `/etc/nginx/http.d/` respectively. This would for example let you adjust the maximum size these two services accept for file uploads, if you need more then the default 10 MiB.
|
||||
|
||||
### Timezone settings
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue