From 2ea60bc4a76ccd0849c9b8cbeac50de2d12b2e2c Mon Sep 17 00:00:00 2001
From: perf3ct TRILIUM_DATA_DIR
environment
variable:
export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data
+If you're running into the 250MB limit imposed on the server by default,
+ and you'd like to increase the upload limit, you can set the TRILIUM_NO_UPLOAD_LIMIT
environment
+ variable to true
disable it completely:
export TRILIUM_NO_UPLOAD_LIMIT=true
+Or, if you'd simply like to increase the upload limit size to something
+ beyond 250MB, you can set the MAX_ALLOWED_FILE_SIZE_MB
environment
+ variable to something larger than the integer 250
(e.g. 450
in
+ the following example):
export MAX_ALLOWED_FILE_SIZE_MB=450
If you are running Trilium on localhost only or if authentication is handled
by another component, you can disable Trilium’s authentication by adding
the following to config.ini
:
[General]
noAuthentication=true
To configure a reverse proxy for Trilium, you can use either nginx or Apache.
+To configure a reverse proxy for Trilium, you can use either nginx or Apache. + You can also check out the documentation stored in the Reverse proxy folder.
Add the following configuration to your nginx
setup to proxy
requests to Trilium:
location /trilium/ {
diff --git a/docs/Developer Guide/!!!meta.json b/docs/Developer Guide/!!!meta.json
index 904a715d8..6e9c247b9 100644
--- a/docs/Developer Guide/!!!meta.json
+++ b/docs/Developer Guide/!!!meta.json
@@ -87,19 +87,19 @@
"type": "text",
"mime": "text/html",
"attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BRhQZHgwaGyw",
+ "isInheritable": false,
+ "position": 10
+ },
{
"type": "label",
"name": "iconClass",
"value": "bx bx-package",
"isInheritable": false,
"position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "BRhQZHgwaGyw",
- "isInheritable": false,
- "position": 20
}
],
"format": "markdown",
diff --git a/docs/User Guide/User Guide/Installation & Setup/Server Installation.md b/docs/User Guide/User Guide/Installation & Setup/Server Installation.md
index c9812185d..6d199947d 100644
--- a/docs/User Guide/User Guide/Installation & Setup/Server Installation.md
+++ b/docs/User Guide/User Guide/Installation & Setup/Server Installation.md
@@ -30,6 +30,20 @@ By default, `config.ini`, the [database](../Advanced%20Usage/Database.md), and o
export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data
```
+### Disabling / Modifying the Upload Limit
+
+If you're running into the 250MB limit imposed on the server by default, and you'd like to increase the upload limit, you can set the `TRILIUM_NO_UPLOAD_LIMIT` environment variable to `true` disable it completely:
+
+```
+export TRILIUM_NO_UPLOAD_LIMIT=true
+```
+
+Or, if you'd simply like to _increase_ the upload limit size to something beyond 250MB, you can set the `MAX_ALLOWED_FILE_SIZE_MB` environment variable to something larger than the integer `250` (e.g. `450` in the following example):
+
+```
+export MAX_ALLOWED_FILE_SIZE_MB=450
+```
+
### Disabling Authentication
If you are running Trilium on localhost only or if authentication is handled by another component, you can disable Trilium’s authentication by adding the following to `config.ini`:
@@ -41,7 +55,7 @@ noAuthentication=true
## Reverse Proxy Setup
-To configure a reverse proxy for Trilium, you can use either **nginx** or **Apache**.
+To configure a reverse proxy for Trilium, you can use either **nginx** or **Apache**. You can also check out the documentation stored in the Reverse proxy folder.
### nginx