Update dapostinstall.sh
This commit is contained in:
+3
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user