mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
Updated Server installation (markdown)
parent
491e3002ee
commit
9be74b9979
@ -12,13 +12,6 @@ Server installation has both desktop and [[mobile frontend]].
|
|||||||
|
|
||||||
For server installations, you might want to configure e.g. port or [[TLS|TLS configuration]]. This is done in the Trilium config file, by default it's in `config.ini` in the [[data directory]].
|
For server installations, you might want to configure e.g. port or [[TLS|TLS configuration]]. This is done in the Trilium config file, by default it's in `config.ini` in the [[data directory]].
|
||||||
|
|
||||||
Among others, you can also disable authentication (in case you run on localhost only or authentication is handled by another component) with:
|
|
||||||
|
|
||||||
```
|
|
||||||
[General]
|
|
||||||
noAuthentication=true
|
|
||||||
```
|
|
||||||
|
|
||||||
### Config location
|
### Config location
|
||||||
|
|
||||||
`config.ini`, [[document]] and some other important Trilium data files are by default persisted in the [[data directory]].
|
`config.ini`, [[document]] and some other important Trilium data files are by default persisted in the [[data directory]].
|
||||||
@ -29,6 +22,16 @@ If this is not desired, you may change it via `TRILIUM_DATA_DIR` environment var
|
|||||||
export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data
|
export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Disable authentication
|
||||||
|
Among others, you can also disable authentication (in case you run on localhost only or authentication is handled by another component) with:
|
||||||
|
|
||||||
|
```
|
||||||
|
[General]
|
||||||
|
noAuthentication=true
|
||||||
|
```
|
||||||
|
|
||||||
|
Note that disabling authentication is possible only since version 0.44.
|
||||||
|
|
||||||
## Reverse proxy setup
|
## Reverse proxy setup
|
||||||
|
|
||||||
### nginx
|
### nginx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user