Get nginx working with php-fpm

This commit is contained in:
Mark J Crane
2017-03-27 02:28:40 -06:00
parent 37d0e9ec99
commit a0a4c0df73
4 changed files with 64 additions and 13 deletions

View File

@@ -6,7 +6,6 @@ cd "$(dirname "$0")"
#includes
. ./config.sh
. ./colors.sh
. ./environment.sh
#send a message
verbose "Installing Fail2ban"
@@ -29,7 +28,7 @@ cp fail2ban/jail.local /usr/local/etc/fail2ban/jail.local
#update config if source is being used
if [ .$switch_source = .true ]; then
sed 's#var/log/freeswitch#usr/local/freeswitch/log#g' -i /etc/fail2ban/jail.local
sed -i' ' -e 's#var/log/freeswitch#usr/local/freeswitch/log#g' /etc/fail2ban/jail.local
fi
#restart fail2ban