Skip to content

Commit 5f89724

Browse files
committed
fix: add events stanza
1 parent 79d9dec commit 5f89724

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/nginx.conf-test.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@ jobs:
1515
uses: actions/checkout@v5
1616
- name: Test Nginx configuration
1717
run: |
18-
echo "http { include 'nginx.conf'; }" > default.conf
18+
cat > default.conf <<EOF
19+
http {
20+
include 'nginx.conf';
21+
}
22+
events {}
23+
EOF
1924
nginx -t -c $(pwd)/default.conf

0 commit comments

Comments
 (0)