@@ -233,7 +233,7 @@ If there are any issues, correct them now before moving on.
233233 $ rm -rf app/cache/*
234234 $ rm -rf app/logs/*
235235
236- $ APACHEUSER=` ps aux| grep -E' [a]pache|[h]ttpd|[_]www|[w]ww-data' | grep -v root| head -1| cut -d\ -f1`
236+ $ APACHEUSER=` ps aux| grep -E' [a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx ' | grep -v root| head -1| cut -d\ -f1`
237237 $ sudo chmod +a" $APACHEUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
238238 $ sudo chmod +a" ` whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
239239
@@ -248,7 +248,7 @@ If there are any issues, correct them now before moving on.
248248
249249 ..code-block ::bash
250250
251- $ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data' | grep -v root | head -1 | cut -d\ -f1`
251+ $ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx ' | grep -v root | head -1 | cut -d\ -f1`
252252$ sudo setfacl -Rn -m u:"$APACHEUSER":rwX -m u: `whoami `:rwX app/cache app/logs
253253$ sudo setfacl -dRn -m u:"$APACHEUSER":rwX -m u: `whoami `:rwX app/cache app/logs
254254