Skip to content

Commit 24d55dd

Browse files
committed
Change nginx config path to absolute
1 parent d872a77 commit 24d55dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ jobs:
5353
make modules
5454
sudo make install
5555
- name: Start Nginx
56-
working-directory: ModSecurity-nginx
5756
run: |
58-
sudo /usr/local/nginx/sbin/nginx -c .github/nginx/nginx.conf
57+
sudo /usr/local/nginx/sbin/nginx -c /home/runner/work/ModSecurity-nginx/ModSecurity-nginx/ModSecurity-nginx/.github/nginx/nginx.conf
5958
- name: Run attack test vhost 1
6059
run: |
6160
status=$(curl -sSo /dev/null -w %{http_code} -I -X GET -H "Host: modsectest1" "http://localhost/?q=attack")

0 commit comments

Comments
 (0)