add another demo
This commit is contained in:
		
							parent
							
								
									6a0f25c685
								
							
						
					
					
						commit
						5da8c6aa2d
					
				
							
								
								
									
										16
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								README.md
									
									
									
									
									
								
							| @ -37,18 +37,30 @@ Demo | ||||
| Run as a webserver: | ||||
| 
 | ||||
| ```bash | ||||
| sudo greenlock --daemon --root /srv/www/example.com --domains example.com,www.example.com | ||||
| sudo greenlock --daemon \ | ||||
|   --email jon@example.com \ | ||||
|   --agree-tos \ | ||||
|   --root /srv/www/example.com \ | ||||
|   --domains example.com,www.example.com | ||||
| ``` | ||||
| 
 | ||||
| Fetch certificates for Apache, Nginx, or HAProxy: | ||||
| 
 | ||||
| ```bash | ||||
| greenlock --domains example.com,www.example.com \ | ||||
| greenlock --email jon@example.com \ | ||||
|   --agree-tos \ | ||||
|   --domains example.com,www.example.com \ | ||||
|   --webroot-path /srv/www/example.com \ | ||||
|   --privkey-path /etc/ssl/privkey.pem \ | ||||
|   --fullchain-path /etc/ssl/fullchain.pem | ||||
| ``` | ||||
| 
 | ||||
| Robust configurations for Greenlock as a system service | ||||
| 
 | ||||
| ```bash | ||||
| sudo greenlock --install systemd --conf /etc/greenlock/greenlock.yml | ||||
| ``` | ||||
| 
 | ||||
| See explanations below in the **Usage** section. | ||||
| 
 | ||||
| Install | ||||
|  | ||||
							
								
								
									
										0
									
								
								installer/get.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								installer/get.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user