mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 22:55:39 +00:00
update nginx-php
This commit is contained in:
@ -1,6 +1,2 @@
|
||||
#!/bin/sh
|
||||
if test -f ./setup; then
|
||||
source ./setup
|
||||
fi
|
||||
|
||||
exec nginx
|
||||
exec nginx
|
||||
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
mkdir -p /nginx/logs /nginx/run
|
||||
chown -R $UID:$GID /nginx
|
||||
sed -i 's/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g' /nginx/conf/nginx.conf
|
@ -1,6 +1,2 @@
|
||||
#!/bin/sh
|
||||
if test -f ./setup; then
|
||||
source ./setup
|
||||
fi
|
||||
|
||||
exec php-fpm
|
||||
exec php-fpm
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
mkdir -p /php/php-fpm.d /php/logs /php/run
|
||||
|
||||
sed -i -e 's/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE' \
|
||||
-e 's/<MEMORY_LIMIT>/$PHP_MEMORY_LIMIT' \
|
||||
/usr/local/etc/php-fpm.conf
|
||||
|
||||
chown -R $UID:GID /php /usr/local/etc/php-fpm.conf
|
Reference in New Issue
Block a user