Update nginx/README.md
This commit is contained in:
		
					parent
					
						
							
								07f201271f
							
						
					
				
			
			
				commit
				
					
						4a7da8552d
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -6,6 +6,6 @@ Do this in `/etc/nginx` (or if using Docker, the directory that maps to it)
 | 
			
		|||
4. Generate dhparam and snakeoil cert:
 | 
			
		||||
```
 | 
			
		||||
openssl dhparam -out dhparam.pem 4096 # This will take a few minutes. Reduce to 3072 if you'd like.
 | 
			
		||||
openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key # just keep pressing Enter
 | 
			
		||||
openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key -subj "/"
 | 
			
		||||
```
 | 
			
		||||
5. `server` entries go into `conf.d/`. See [server.conf](server.conf) for a template.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue