mirror of
				https://github.com/1Panel-dev/1Panel.git
				synced 2025-10-31 03:07:34 +08:00 
			
		
		
		
	feat: CloudFlare DNS 证书改为使用 Token (#3164)
Refs https://github.com/1Panel-dev/1Panel/issues/3139
This commit is contained in:
		
							parent
							
								
									cceed9c2ea
								
							
						
					
					
						commit
						d2a01fb0e0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -110,7 +110,7 @@ func (c *AcmeClient) UseDns(dnsType DnsType, params string) error { | |||
| 	case CloudFlare: | ||||
| 		cloudflareConfig := cloudflare.NewDefaultConfig() | ||||
| 		cloudflareConfig.AuthEmail = param.Email | ||||
| 		cloudflareConfig.AuthKey = param.APIkey | ||||
| 		cloudflareConfig.AuthToken = param.APIkey | ||||
| 		cloudflareConfig.PropagationTimeout = 60 * time.Minute | ||||
| 		cloudflareConfig.PollingInterval = 5 * time.Second | ||||
| 		cloudflareConfig.TTL = 3600 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue