| 
									
										
										
										
											2019-06-03 03:47:07 -06:00
										 |  |  | "use strict"; | 
					
						
							| 
									
										
										
										
											2019-04-04 00:35:15 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-03 03:47:07 -06:00
										 |  |  | var path = require("path"); | 
					
						
							| 
									
										
										
										
											2019-04-04 00:35:15 -06:00
										 |  |  | module.exports = { | 
					
						
							| 
									
										
										
										
											2019-11-01 15:14:07 -06:00
										 |  |  |     email: "jon.doe@example.com", | 
					
						
							|  |  |  |     configDir: path.join(__dirname, "acme"), | 
					
						
							|  |  |  |     srv: "/srv/www/", | 
					
						
							|  |  |  |     api: "/srv/api/", | 
					
						
							|  |  |  |     proxy: { | 
					
						
							|  |  |  |         "example.com": "http://localhost:4080", | 
					
						
							|  |  |  |         "*.example.com": "http://localhost:4080" | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2019-08-01 05:44:04 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-01 15:14:07 -06:00
										 |  |  |     // DNS-01 challenges only
 | 
					
						
							|  |  |  |     challenges: { | 
					
						
							|  |  |  |         "*.example.com": require("acme-dns-01-YOUR_DNS_HOST").create({ | 
					
						
							|  |  |  |             token: "xxxx" | 
					
						
							|  |  |  |         }) | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2019-04-04 00:35:15 -06:00
										 |  |  | }; |