mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 22:55:39 +00:00
add nginx-php image
This commit is contained in:
6
nginx-php/rootfs/etc/s6.d/nginx/run
Normal file
6
nginx-php/rootfs/etc/s6.d/nginx/run
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
if test -f ./setup; then
|
||||
source ./setup
|
||||
fi
|
||||
|
||||
exec nginx
|
4
nginx-php/rootfs/etc/s6.d/nginx/setup
Normal file
4
nginx-php/rootfs/etc/s6.d/nginx/setup
Normal file
@ -0,0 +1,4 @@
|
||||
#!/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
|
Reference in New Issue
Block a user