Change try files
This commit is contained in:
parent
3536b50552
commit
ea38e19368
|
@ -335,7 +335,7 @@ function install_edith {
|
||||||
echo ' location / {' >> $edith_nginx_site
|
echo ' location / {' >> $edith_nginx_site
|
||||||
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/ @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 \"${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
|
||||||
|
@ -376,7 +376,7 @@ function install_edith {
|
||||||
echo ' location / {' >> $edith_nginx_site
|
echo ' location / {' >> $edith_nginx_site
|
||||||
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/ @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 \"${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
|
||||||
|
|
Loading…
Reference in New Issue