change access_log OFF to off
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ printf "done\n"
|
|||||||
# update access log global preference
|
# update access log global preference
|
||||||
if [ "$ACCESS_LOG" = 'OFF' ]; then
|
if [ "$ACCESS_LOG" = 'OFF' ]; then
|
||||||
printf "Turning access log OFF... "
|
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"
|
printf "done\n"
|
||||||
elif [ "$ACCESS_LOG" = 'ON' ]; then
|
elif [ "$ACCESS_LOG" = 'ON' ]; then
|
||||||
printf "Turning access log ON... "
|
printf "Turning access log ON... "
|
||||||
|
|||||||
Reference in New Issue
Block a user