mirror of
				https://github.com/therootcompany/greenlock-express.js.git
				synced 2024-11-16 17:28:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			468 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			468 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| "use strict";
 | |
| 
 | |
| var path = require("path");
 | |
| module.exports = {
 | |
|     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"
 | |
|     },
 | |
| 
 | |
|     // DNS-01 challenges only
 | |
|     challenges: {
 | |
|         "*.example.com": require("acme-dns-01-YOUR_DNS_HOST").create({
 | |
|             token: "xxxx"
 | |
|         })
 | |
|     }
 | |
| };
 |