From 172b97e19bff550b4be9f5a0cde0b9ed31313382 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 27 Sep 2023 15:14:06 -0700 Subject: [PATCH] fix typo in name of wp-security.conf file --- .../conf-available/{wp-secuirty.conf => wp-security.conf} | 0 install.sh | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename etc/apache2/conf-available/{wp-secuirty.conf => wp-security.conf} (100%) diff --git a/etc/apache2/conf-available/wp-secuirty.conf b/etc/apache2/conf-available/wp-security.conf similarity index 100% rename from etc/apache2/conf-available/wp-secuirty.conf rename to etc/apache2/conf-available/wp-security.conf diff --git a/install.sh b/install.sh index 01a762c..4296d0e 100755 --- a/install.sh +++ b/install.sh @@ -35,9 +35,9 @@ systemctl enable wp-cron.timer systemctl start wp-cron.timer # enable wp-security, restricts access to wordpress directories -cp etc/apache2/conf-available/wp-secuirty.conf /etc/apache2/conf-available/wp-secuirty.conf -chmod 644 /etc/apache2/conf-available/wp-secuirty.conf -a2enconf wp-secuirty +cp etc/apache2/conf-available/wp-security.conf /etc/apache2/conf-available/wp-security.conf +chmod 644 /etc/apache2/conf-available/wp-security.conf +a2enconf wp-security systemctl reload apache2 # fail2ban wordpress configs