mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
DISTRO TESTS setup-ngxblocker
Improve NGXBBB Block Appearance in nginx.conf REF: #256 REF: #266
This commit is contained in:
parent
a814d6a2ef
commit
6f7f5c1ec7
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ add_includes() {
|
|||
|
||||
#add comment above inserts
|
||||
text="include $conf_dir/$(echo $include_list | awk '{print $NF}');"
|
||||
sed -i "s|$text|\n\n##\n# Nginx Bad Bot Blocker Includes\n# REPO: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker\n##\n\t$text|" $file
|
||||
sed -i "s|$text|\n\n\t##\n\t# Nginx Bad Bot Blocker Includes\n\t# REPO: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker\n\t##\n\t$text|" $file
|
||||
|
||||
# remove placeholders
|
||||
sed -i "s|$ph||g" $file
|
||||
|
|
Loading…
Add table
Reference in a new issue