Remove restricts

This commit is contained in:
Bob Mottram 2018-02-02 13:10:22 +00:00
parent ea38e19368
commit 98701b259c
1 changed files with 0 additions and 10 deletions

View File

@ -339,11 +339,6 @@ function install_edith {
echo " #auth_basic \"${EDITH_LOGIN_TEXT}\";" >> $edith_nginx_site
echo ' #auth_basic_user_file /etc/nginx/.edithpasswd;' >> $edith_nginx_site
echo ' }' >> $edith_nginx_site
echo '' >> $edith_nginx_site
echo ' # Restrict access that is unnecessary anyway' >> $edith_nginx_site
echo ' location ~ /\.(ht|git) {' >> $edith_nginx_site
echo ' deny all;' >> $edith_nginx_site
echo ' }' >> $edith_nginx_site
echo '}' >> $edith_nginx_site
else
echo -n '' > $edith_nginx_site
@ -380,11 +375,6 @@ function install_edith {
echo " #auth_basic \"${EDITH_LOGIN_TEXT}\";" >> $edith_nginx_site
echo ' #auth_basic_user_file /etc/nginx/.edithpasswd;' >> $edith_nginx_site
echo ' }' >> $edith_nginx_site
echo '' >> $edith_nginx_site
echo ' # Restrict access that is unnecessary anyway' >> $edith_nginx_site
echo ' location ~ /\.(ht|git) {' >> $edith_nginx_site
echo ' deny all;' >> $edith_nginx_site
echo ' }' >> $edith_nginx_site
echo '}' >> $edith_nginx_site
function_check configure_php