mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Fixing Travis - error accessing Nginx error.log
This commit is contained in:
parent
af13395db7
commit
e6d9ab3950
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ mkdir "$DIR/nginx/sites-enabled"
|
|||
mkdir "$DIR/var"
|
||||
mkdir "$DIR/nginx/bots.d"
|
||||
mkdir "$DIR/nginx/conf.d"
|
||||
mkdir "$DIR/tmp"
|
||||
|
||||
# Configure the PHP handler.
|
||||
if [ "$PHP_VERSION" = 'hhvm' ] || [ "$PHP_VERSION" = 'hhvm-nightly' ]
|
||||
|
@ -60,4 +61,4 @@ tpl "$DIR/blockbots.tpl.conf" "$DIR/nginx/bots.d/blockbots.conf"
|
|||
tpl "$DIR/ddos.tpl.conf" "$DIR/nginx/bots.d/ddos.conf"
|
||||
|
||||
# Start nginx.
|
||||
nginx -c "$DIR/nginx/nginx.conf"
|
||||
nginx -c "$DIR/nginx/nginx.conf" -p "$DIR/nginx"
|
Loading…
Add table
Reference in a new issue