From 24d55ddf9e4b93affd400dc710d7e94c1c6651ed Mon Sep 17 00:00:00 2001 From: Ervin Hegedus Date: Tue, 16 Apr 2024 19:43:25 +0000 Subject: [PATCH] Change nginx config path to absolute --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0aff75c..b7ae298 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,9 +53,8 @@ jobs: make modules sudo make install - name: Start Nginx - working-directory: ModSecurity-nginx run: | - sudo /usr/local/nginx/sbin/nginx -c .github/nginx/nginx.conf + sudo /usr/local/nginx/sbin/nginx -c /home/runner/work/ModSecurity-nginx/ModSecurity-nginx/ModSecurity-nginx/.github/nginx/nginx.conf - name: Run attack test vhost 1 run: | status=$(curl -sSo /dev/null -w %{http_code} -I -X GET -H "Host: modsectest1" "http://localhost/?q=attack")