mirror of
				https://github.com/therootcompany/greenlock-express.js.git
				synced 2024-11-16 17:28:59 +00:00 
			
		
		
		
	update quickstart
This commit is contained in:
		
							parent
							
								
									3ea7d3e97b
								
							
						
					
					
						commit
						c93ecf307b
					
				
							
								
								
									
										22
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								README.md
									
									
									
									
									
								
							| @ -93,13 +93,8 @@ Manage via API or the config file: | ||||
| 
 | ||||
| Easy as 1, 2, 3... 4 | ||||
| 
 | ||||
| 1. Create a node project | ||||
| 2. Create an http app (i.e. Express) | ||||
| 3. Serve with Greenlock Express | ||||
| 4. Manage SSL certifates and domains | ||||
| 
 | ||||
| <details> | ||||
| <summary>Read Guide</summary> | ||||
| <summary>1. Create a node project</summary> | ||||
| 
 | ||||
| ## 1. Create a node project | ||||
| 
 | ||||
| @ -113,6 +108,11 @@ pushd ~/my-project | ||||
| npm init | ||||
| ``` | ||||
| 
 | ||||
| </details> | ||||
| 
 | ||||
| <details> | ||||
| <summary>2. Create an http app (i.e. express)</summary> | ||||
| 
 | ||||
| ## 2. Create an http app (i.e. express) | ||||
| 
 | ||||
| This example is shown with Express, but any node app will doGreenlock | ||||
| @ -143,6 +143,11 @@ app.get("/", myPlainNodeHttpApp); | ||||
| module.exports = app; | ||||
| ``` | ||||
| 
 | ||||
| </details> | ||||
| 
 | ||||
| <details> | ||||
| <summary>3. Serve with Greenlock Express</summary> | ||||
| 
 | ||||
| ## 3. Serve with Greenlock Express | ||||
| 
 | ||||
| Greenlock Express is designed with these goals in mind: | ||||
| @ -198,6 +203,11 @@ Listening on 0.0.0.0:80 for ACME challenges and HTTPS redirects | ||||
| Listening on 0.0.0.0:443 for secure traffic | ||||
| ``` | ||||
| 
 | ||||
| </details> | ||||
| 
 | ||||
| <details> | ||||
| <summary>4. Manage SSL Certificates and Domains</summary> | ||||
| 
 | ||||
| ## 4. Manage domains | ||||
| 
 | ||||
| The management API is built to work with Databases, S3, etc. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user