mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
Fix file ownership issues/
This commit is contained in:
parent
d94821a183
commit
da72196ab6
2 changed files with 7 additions and 0 deletions
|
@ -222,6 +222,9 @@ printf '\n%s\n%s\n%s\n\n' "######################" "Now Run our Curl Tests" "###
|
|||
# Copy all .conf files used in Test 1 to a folder for checking
|
||||
# ************************************************************
|
||||
|
||||
sudo chown -r www-data:www-data /etc/nginx/bots.d/
|
||||
sudo chown -r www-data:www-data /etc/nginx/conf.d/
|
||||
|
||||
cp /etc/nginx/bots.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test1/bots.d/
|
||||
cp /etc/nginx/conf.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test1/conf.d/
|
||||
|
||||
|
|
|
@ -255,6 +255,10 @@ printf '\n%s\n%s\n%s\n\n' "######################" "Now Run our Curl Tests" "###
|
|||
# Copy all .conf files used in Test 2 to a folder for checking
|
||||
# ************************************************************
|
||||
|
||||
sudo chown -r www-data:www-data /usr/local/nginx/bots.d/
|
||||
sudo chown -r www-data:www-data /usr/local/nginx/conf.d/
|
||||
|
||||
|
||||
cp /usr/local/nginx/bots.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test2/bots.d/
|
||||
cp /usr/local/nginx/conf.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test2/conf.d/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue