mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Try to fix ACME directory problem (#33072)
This commit is contained in:
		| @@ -54,7 +54,7 @@ func runACME(listenAddr string, m http.Handler) error { | |||||||
| 		altTLSALPNPort = p | 		altTLSALPNPort = p | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	magic := certmagic.NewDefault() | 	magic := &certmagic.Default | ||||||
| 	magic.Storage = &certmagic.FileStorage{Path: setting.AcmeLiveDirectory} | 	magic.Storage = &certmagic.FileStorage{Path: setting.AcmeLiveDirectory} | ||||||
| 	// Try to use private CA root if provided, otherwise defaults to system's trust | 	// Try to use private CA root if provided, otherwise defaults to system's trust | ||||||
| 	var certPool *x509.CertPool | 	var certPool *x509.CertPool | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user