| 
									
										
										
										
											2018-02-24 21:23:04 -05:00
										 |  |  | [General] | 
					
						
							| 
									
										
										
										
											2020-12-21 21:05:34 +01:00
										 |  |  | # Instance name can be used to distinguish between different instances using backend api.getInstanceName() | 
					
						
							| 
									
										
										
										
											2018-02-24 21:23:04 -05:00
										 |  |  | instanceName= | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-29 00:11:50 +02:00
										 |  |  | # set to true to allow using Trilium without authentication (makes sense for server build only, desktop build doesn't need password) | 
					
						
							|  |  |  | noAuthentication=false | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-12 21:50:05 +01:00
										 |  |  | # set to true to disable backups (e.g. because of limited space on server) | 
					
						
							|  |  |  | noBackup=false | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-25 21:24:41 +01:00
										 |  |  | # Disable automatically generating desktop icon | 
					
						
							|  |  |  | # noDesktopIcon=true | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-16 23:06:16 -05:00
										 |  |  | [Network] | 
					
						
							| 
									
										
										
										
											2019-07-09 22:50:20 +02:00
										 |  |  | # host setting is relevant only for web deployments - set the host on which the server will listen | 
					
						
							|  |  |  | # host=0.0.0.0 | 
					
						
							| 
									
										
										
										
											2020-01-12 19:05:09 +01:00
										 |  |  | # port setting is relevant only for web deployments, desktop builds run on a fixed port (changeable with TRILIUM_PORT environment variable) | 
					
						
							| 
									
										
										
										
											2017-12-24 15:12:18 -05:00
										 |  |  | port=8080 | 
					
						
							| 
									
										
										
										
											2017-11-16 23:55:50 -05:00
										 |  |  | # true for TLS/SSL/HTTPS (secure), false for HTTP (unsecure). | 
					
						
							|  |  |  | https=false | 
					
						
							| 
									
										
										
										
											2018-08-15 15:27:22 +02:00
										 |  |  | # path to certificate (run "bash bin/generate-cert.sh" to generate self-signed certificate). Relevant only if https=true | 
					
						
							| 
									
										
										
										
											2017-11-16 23:55:50 -05:00
										 |  |  | certPath= | 
					
						
							|  |  |  | keyPath= | 
					
						
							| 
									
										
										
										
											2022-08-04 00:19:54 +02:00
										 |  |  | # setting to give trust to reverse proxies, a comma-separated list of trusted rev. proxy IPs can be specified (CIDR notation is permitted), | 
					
						
							|  |  |  | # alternatively 'true' will make use of the leftmost IP in X-Forwarded-For, ultimately an integer can be used to tell about the number of hops between | 
					
						
							|  |  |  | # Trilium (which is hop 0) and the first trusted rev. proxy.  | 
					
						
							|  |  |  | # once set, expressjs will use the X-Forwarded-For header set by the rev. proxy to determinate the real IPs of clients. | 
					
						
							|  |  |  | # expressjs shortcuts are supported: loopback(127.0.0.1/8, ::1/128), linklocal(169.254.0.0/16, fe80::/10), uniquelocal(10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7) | 
					
						
							|  |  |  | trustedReverseProxy=false |