ref 407, invalid sed command

jschan
Thomas Lynch 3 years ago
parent f85576bddc
commit 8afb1c9ad4
No known key found for this signature in database
GPG Key ID: FBAB081F9B6E14B2
  1. 2
      configs/nginx/nginx.sh

@ -173,7 +173,7 @@ fi
if [ "$ROBOTS_TXT_DISALLOW" == "y" ]; then
#add path / (all) to disallow to make robots.txt block all robots instead of allowing
sudo sed -d "s|Disallow:|Disallow: /|g" /etc/nginx/snippets/jschan_common_routes.conf
sudo sed -i "s|Disallow:|Disallow: /|g" /etc/nginx/snippets/jschan_common_routes.conf
fi
if [ "$GEOIP" == "y" ]; then

Loading…
Cancel
Save