From ea38e19368852178ff118fbc66fe9868f07e0be1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Feb 2018 13:09:20 +0000 Subject: [PATCH] Change try files --- src/freedombone-app-edith | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-edith b/src/freedombone-app-edith index 72d58c17..572b6d5b 100755 --- a/src/freedombone-app-edith +++ b/src/freedombone-app-edith @@ -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