change access_log OFF to off

This commit is contained in:
Asif Bacchus 2019-11-17 23:55:54 -07:00
parent d51817d02f
commit f8d228b277

View File

@ -23,7 +23,7 @@ printf "done\n"
# update access log global preference
if [ "$ACCESS_LOG" = 'OFF' ]; then
printf "Turning access log OFF... "
sed -i -e "s%<ACCESS_LOG_SETTING>%OFF%" /etc/nginx/nginx.conf
sed -i -e "s%<ACCESS_LOG_SETTING>%off%" /etc/nginx/nginx.conf
printf "done\n"
elif [ "$ACCESS_LOG" = 'ON' ]; then
printf "Turning access log ON... "