mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-23 08:58:33 +00:00
fix referrers again
This commit is contained in:
parent
ed8bd902b1
commit
db04c0345c
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ for ref in $BLACKLIST ; do
|
|||
DATA="${DATA}\"~${ref}\" yes;\n"
|
||||
done
|
||||
|
||||
echo "map \$http_referer \$bad_referrer { hostnames; default no; $DATA }" > /etc/nginx/map-referrer.conf
|
||||
echo -e "map \$http_referer \$bad_referrer { hostnames; default no; $DATA }" > /etc/nginx/map-referrer.conf
|
||||
cp /etc/nginx/map-referrer.conf /cache
|
||||
|
||||
if [ -f /tmp/nginx.pid ] ; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue