Update dapostinstall.sh

This commit is contained in:
Marek Miklewicz
2022-05-21 14:36:29 +02:00
committed by GitHub
parent 1f73332dd9
commit 89cd8b9593
+3 -3
View File
@@ -297,10 +297,10 @@ done
while true; do while true; do
read -p "Czy instalowac klucze logowania HITME do SSH (T/N)? " yn read -p "Czy instalowac Security Headers (T/N)? " yn
case $yn in case $yn in
[Tt] ) echo "Czy instalowac security headers?" [Tt] ) echo "Instalacja Security Headers?"
cd $DAPOSTINSTALL_DIR cd $DAPOSTINSTALL_DIR
cat security-headers.conf >>/etc/httpd/conf/extra/httpd-includes.conf cat security-headers.conf >>/etc/httpd/conf/extra/httpd-includes.conf
cd /usr/local/directadmin/custombuild cd /usr/local/directadmin/custombuild
@@ -309,7 +309,7 @@ case $yn in
break;; break;;
[nN] ) echo "Pomijam instalacje security headers"; [nN] ) echo "Pomijam instalacje Security Headers";
break;; break;;
* ) echo "Niewlasciwa odpowiedz";; * ) echo "Niewlasciwa odpowiedz";;
esac esac