Files
dockerfiles/nginx-php/rootfs/etc/s6.d/nginx/setup
2017-04-25 21:49:24 +02:00

4 lines
138 B
Bash

#!/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