mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Explicitly decide whether to use TLS in mailer's configuration (#5024)
* explicitly decide on using TLS for mail connections * explicitly decide on using TLS for mail connections * keep compatibility
This commit is contained in:
		
				
					committed by
					
						
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							ce9a5173fe
						
					
				
				
					commit
					3a1ed82529
				
			@@ -62,7 +62,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
 | 
			
		||||
   HTTP protocol.
 | 
			
		||||
- `USE_COMPAT_SSH_URI`: **false**: Force ssh:// clone url instead of scp-style uri when
 | 
			
		||||
   default SSH port is used.
 | 
			
		||||
   
 | 
			
		||||
 | 
			
		||||
### Repository - Pull Request (`repository.pull-request`)
 | 
			
		||||
- `WORK_IN_PROGRESS_PREFIXES`: **WIP:,\[WIP\]**: List of prefixes used in Pull Request
 | 
			
		||||
 title to mark them as Work In Progress
 | 
			
		||||
@@ -222,6 +222,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
 | 
			
		||||
     `FROM` and `SENDMAIL_PATH`.
 | 
			
		||||
- `SENDMAIL_PATH`: **sendmail**: The location of sendmail on the operating system (can be
 | 
			
		||||
   command or full path).
 | 
			
		||||
- ``IS_TLS_ENABLED`` :  **false** : Decide if SMTP connections should use TLS.
 | 
			
		||||
 | 
			
		||||
## Cache (`cache`)
 | 
			
		||||
 | 
			
		||||
@@ -310,8 +311,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
 | 
			
		||||
- `TOKEN`: **\<empty\>**: You need to specify the token, if you want to include in the authorization the metrics . The same token need to be used in prometheus parameters `bearer_token` or `bearer_token_file`.
 | 
			
		||||
 | 
			
		||||
## API (`api`)
 | 
			
		||||
 
 | 
			
		||||
- `ENABLE_SWAGGER_ENDPOINT`: **true**: Enables /api/swagger, /api/v1/swagger etc. endpoints. True or false; default is true. 
 | 
			
		||||
 | 
			
		||||
- `ENABLE_SWAGGER_ENDPOINT`: **true**: Enables /api/swagger, /api/v1/swagger etc. endpoints. True or false; default is true.
 | 
			
		||||
- `MAX_RESPONSE_ITEMS`: **50**: Max number of items in a page.
 | 
			
		||||
 | 
			
		||||
## i18n (`i18n`)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user