Skip to content

Commit dc414b0

Browse files
committed
Fix module path
1 parent c33a636 commit dc414b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ jobs:
4848
- name: Build nginx with ModSecurity-nginx module
4949
working-directory: nginx
5050
run: |
51-
./auto/configure --with-ld-opt="-Wl,-rpath,/usr/local/lib" --without-pcre2 --add-module=ModSecurity-nginx/ModSecurity-nginx/ModSecurity-nginx
51+
./auto/configure --with-ld-opt="-Wl,-rpath,/usr/local/lib" --without-pcre2 --add-module=../ModSecurity-nginx
5252
make
5353
make modules
5454
sudo make install
5555
- name: Start Nginx
5656
run: |
57-
sudo /usr/local/nginx/sbin/nginx -c ModSecurity-nginx/ModSecurity-nginx/ModSecurity-nginx/.github/nginx/nginx.conf
57+
sudo /usr/local/nginx/sbin/nginx -c ModSecurity-nginx/.github/nginx/nginx.conf
5858
- name: Run attack test vhost 1
5959
run: |
6060
status=$(curl -sSo /dev/null -w %{http_code} -I -X GET -H "Host: modsectest1" "http://localhost/?q=attack")

0 commit comments

Comments
 (0)