Skip to content

Commit

Permalink
Change nginx config path to absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
airween committed Apr 16, 2024
1 parent d872a77 commit 24d55dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 24d55dd

Please sign in to comment.