Default to login with edith notes

This commit is contained in:
Bob Mottram 2018-02-02 13:29:46 +00:00
parent 98701b259c
commit 84476be49b
1 changed files with 4 additions and 4 deletions

View File

@ -336,8 +336,8 @@ function install_edith {
function_check nginx_limits
nginx_limits $EDITH_DOMAIN_NAME '15m'
echo ' try_files $uri $uri/ /index.php?$args;' >> $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 \"${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
else
@ -372,8 +372,8 @@ function install_edith {
function_check nginx_limits
nginx_limits $EDITH_DOMAIN_NAME '15m'
echo ' try_files $uri $uri/ /index.php?$args;' >> $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 \"${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