Change try files

This commit is contained in:
Bob Mottram 2018-02-02 13:09:20 +00:00
parent 3536b50552
commit ea38e19368
1 changed files with 2 additions and 2 deletions

View File

@ -335,7 +335,7 @@ function install_edith {
echo ' location / {' >> $edith_nginx_site
function_check nginx_limits
nginx_limits $EDITH_DOMAIN_NAME '15m'
echo ' try_files $uri $uri/ @edith;' >> $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_user_file /etc/nginx/.edithpasswd;' >> $edith_nginx_site
echo ' }' >> $edith_nginx_site
@ -376,7 +376,7 @@ function install_edith {
echo ' location / {' >> $edith_nginx_site
function_check nginx_limits
nginx_limits $EDITH_DOMAIN_NAME '15m'
echo ' try_files $uri $uri/ @edith;' >> $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_user_file /etc/nginx/.edithpasswd;' >> $edith_nginx_site
echo ' }' >> $edith_nginx_site