Skip to content

Commit 81bc276

Browse files
committed
clarify docs
1 parent f4eacde commit 81bc276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Here are the available configuration options and their default values:
1818
| `database_connection_acquire_timeout_seconds` | 10 | How long to wait when acquiring a database connection from the pool before giving up and returning an error. |
1919
| `sqlite_extensions` | | An array of SQLite extensions to load, such as `mod_spatialite` |
2020
| `web_root` | `.` | The root directory of the web server, where the `index.sql` file is located. |
21-
| `site_prefix` | `/` | Must end with a `/`. The site prefix (useful for hosting behind a reverse proxy). |
21+
| `site_prefix` | `/` | Base path of the site. If you want to host SQLPage at `https://example.com/sqlpage/`, set this to `/sqlpage/`. When using a reverse proxy, this allows hosting SQLPage together with other applications on the same subdomain. |
2222
| `configuration_directory` | `./sqlpage/` | The directory where the `sqlpage.json` file is located. This is used to find the path to `templates/`, `migrations/`, and `on_connect.sql`. Obviously, this configuration parameter can be set only through environment variables, not through the `sqlpage.json` file itself in order to find the `sqlpage.json` file. Be careful not to use a path that is accessible from the public WEB_ROOT |
2323
| `allow_exec` | false | Allow usage of the `sqlpage.exec` function. Do this only if all users with write access to sqlpage query files and to the optional `sqlpage_files` table on the database are trusted. |
2424
| `max_uploaded_file_size` | 5242880 | Maximum size of uploaded files in bytes. Defaults to 5 MiB. |

0 commit comments

Comments
 (0)