Remove restricts
This commit is contained in:
parent
ea38e19368
commit
98701b259c
|
@ -339,11 +339,6 @@ function install_edith {
|
||||||
echo " #auth_basic \"${EDITH_LOGIN_TEXT}\";" >> $edith_nginx_site
|
echo " #auth_basic \"${EDITH_LOGIN_TEXT}\";" >> $edith_nginx_site
|
||||||
echo ' #auth_basic_user_file /etc/nginx/.edithpasswd;' >> $edith_nginx_site
|
echo ' #auth_basic_user_file /etc/nginx/.edithpasswd;' >> $edith_nginx_site
|
||||||
echo ' }' >> $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
|
echo '}' >> $edith_nginx_site
|
||||||
else
|
else
|
||||||
echo -n '' > $edith_nginx_site
|
echo -n '' > $edith_nginx_site
|
||||||
|
@ -380,11 +375,6 @@ function install_edith {
|
||||||
echo " #auth_basic \"${EDITH_LOGIN_TEXT}\";" >> $edith_nginx_site
|
echo " #auth_basic \"${EDITH_LOGIN_TEXT}\";" >> $edith_nginx_site
|
||||||
echo ' #auth_basic_user_file /etc/nginx/.edithpasswd;' >> $edith_nginx_site
|
echo ' #auth_basic_user_file /etc/nginx/.edithpasswd;' >> $edith_nginx_site
|
||||||
echo ' }' >> $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
|
echo '}' >> $edith_nginx_site
|
||||||
|
|
||||||
function_check configure_php
|
function_check configure_php
|
||||||
|
|
Loading…
Reference in New Issue