8 lines
143 B
Bash
8 lines
143 B
Bash
#!/bin/sh
|
|
|
|
if [[ $ACCESS_LOG ]]; then
|
|
sed -i s%\#ENV_ACCESS_LOG%"access_log $ACCESS_LOG;"%g /etc/nginx/nginx.conf
|
|
fi
|
|
|
|
nginx -g "daemon off;"
|