Skip to content

Commit dbf036d

Browse files
increase size of variables_hash_max size and test systemctl status nginx
1 parent 121e6bf commit dbf036d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

travis-ci/install-nginx2.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@ sudo cp $TRAVIS_BUILD_DIR/travis-ci/defaultsite.vhost /etc/nginx/sites-available
7171
sudo ln -s /etc/nginx/sites-available/default.vhost /etc/nginx/sites-enabled/default.vhost
7272
sudo mv $TRAVIS_BUILD_DIR/travis-ci/nginx.conf /etc/nginx/nginx.conf
7373
sudo nginx -t
74+
systemctl status nginx

travis-ci/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ http {
2525
client_max_body_size 50M;
2626
types_hash_max_size 2048;
2727
large_client_header_buffers 4 16k;
28-
variables_hash_max_size: 512;
28+
variables_hash_max_size: 2048;
2929
# Our request limiter zone for wp-login attacks
3030
limit_req_zone $binary_remote_addr zone=wp-login:10m rate=1r/s;
3131

0 commit comments

Comments
 (0)