Skip to content

Commit 413d70c

Browse files
committed
fix change to loading http2 in apache for running tests
1 parent 6a5d35c commit 413d70c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/ci/setup/setup_apache.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y apache2
1515
# set up Apache for php-fpm
1616

1717
a2enmod rewrite proxy_fcgi setenvif ssl
18-
if apache2ctl -M 2>/dev/null | grep -q http2; then
18+
if [ -f /etc/apache2/mods-available/http2.load ]; then
1919
a2enmod http2
2020
fi
2121

0 commit comments

Comments
 (0)