Default to login with edith notes
This commit is contained in:
parent
98701b259c
commit
84476be49b
|
@ -336,8 +336,8 @@ function install_edith {
|
||||||
function_check nginx_limits
|
function_check nginx_limits
|
||||||
nginx_limits $EDITH_DOMAIN_NAME '15m'
|
nginx_limits $EDITH_DOMAIN_NAME '15m'
|
||||||
echo ' try_files $uri $uri/ /index.php?$args;' >> $edith_nginx_site
|
echo ' try_files $uri $uri/ /index.php?$args;' >> $edith_nginx_site
|
||||||
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 '}' >> $edith_nginx_site
|
||||||
else
|
else
|
||||||
|
@ -372,8 +372,8 @@ function install_edith {
|
||||||
function_check nginx_limits
|
function_check nginx_limits
|
||||||
nginx_limits $EDITH_DOMAIN_NAME '15m'
|
nginx_limits $EDITH_DOMAIN_NAME '15m'
|
||||||
echo ' try_files $uri $uri/ /index.php?$args;' >> $edith_nginx_site
|
echo ' try_files $uri $uri/ /index.php?$args;' >> $edith_nginx_site
|
||||||
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 '}' >> $edith_nginx_site
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue