mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 11:44:21 +08:00 
			
		
		
		
	feat(config): improve Session descriptions
This commit is contained in:
		
							parent
							
								
									201663d9ec
								
							
						
					
					
						commit
						cab0a5e41f
					
				| @ -30,13 +30,18 @@ trustedReverseProxy=false | ||||
| 
 | ||||
| 
 | ||||
| [Session] | ||||
| # Use this setting to constrain the current instance's "Path" value for the set cookies | ||||
| # Use this setting to set a custom value for the "Path" Attribute value of the session cookie. | ||||
| # This can be useful, when you have several instances running on the same domain, under different paths (e.g. by using a reverse proxy). | ||||
| # It prevents your instances from overwriting each others' cookies. | ||||
| # e.g. if you have https://your-domain.com/triliumNext/instanceA and https://your-domain.com/triliumNext/instanceB | ||||
| # It prevents your instances from overwriting each others' cookies, allowing you to stay logged in multiple instances simultanteously. | ||||
| # E.g. if you have instances running under https://your-domain.com/triliumNext/instanceA and https://your-domain.com/triliumNext/instanceB | ||||
| # you would want to set the cookiePath value to "/triliumNext/instanceA" for your first and "/triliumNext/instanceB" for your second instance | ||||
| cookiePath=/ | ||||
| cookieMaxAge= | ||||
| 
 | ||||
| # Use this setting to set a custom value for the "Max-Age" Attribute of the session cookie. | ||||
| # This controls how long your session will be valid, before it expires and you need to log in again, when you use the "Remember Me" option. | ||||
| # Value needs to be entered in Seconds. | ||||
| # Default value is 1814400 Seconds, which is 21 Days. | ||||
| cookieMaxAge=1814400 | ||||
| 
 | ||||
| [Sync] | ||||
| #syncServerHost= | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Panagiotis Papadopoulos
						Panagiotis Papadopoulos