diff --git a/conf/.env.example b/conf/.env.example index c6ddb84..1a6fcd9 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -18,7 +18,7 @@ APP_KEY=SomeRandomString # If you change this in the future you may need to run a command # to update stored URLs in the database. Command example: # php artisan bookstack:update-url https://old.example.com https://new.example.com -#APP_URL=https:__DOMAIN____PATH__ +#APP_URL=https://__DOMAIN____PATH__ # Application default language # The default language choice to show. diff --git a/conf/nginx.conf b/conf/nginx.conf index 4741f52..b346212 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,7 +12,7 @@ location __PATH__/ { index index.php; #try_files $uri $uri/ @bookstack; - try_files $uri $uri/ /index.php; + try_files $uri $uri/ /index.php?$query_string; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;