Skip to content

Commit

Permalink
Include main nginx.conf so that it generate nginx_config_option
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentquillerou committed Sep 7, 2015
1 parent 3cdd9ea commit b83c3fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/tests_webservers
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@
# Remove temp file
if [ ! "${TMPFILE}" = "" ]; then if [ -f ${TMPFILE} ]; then rm -f ${TMPFILE}; fi; fi
N=0
cat ${NGINX_CONF_LOCATION} | sed -e 's/^[ \t]*//' | grep -v "^#" | grep -v "^$" | sed 's/[\t]/ /g' | sed 's/ / /g' | sed 's/ / /g' >> ${TMPFILE}
# Search for included configuration files (may include directories and wild cards)
FIND=`grep "include" ${NGINX_CONF_LOCATION} | ${AWKBINARY} '{ if ($1=="include") { print $2 }}' | sed 's/;$//g'`
for I in ${FIND}; do
Expand Down

0 comments on commit b83c3fb

Please sign in to comment.