parent
							
								
									996a7f165d
								
							
						
					
					
						commit
						eb38128f34
					
				@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					sudo apt install letsencrypt
 | 
				
			||||||
 | 
					sudo systemctl status certbot.timer
 | 
				
			||||||
 | 
					sudo certbot certonly --standalone --agree-tos --preferred-challenges http -d domain-name.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sudo certbot certonly --standalone --agree-tos --preferred-challenges http -d system-test.die-logistik24.de
 | 
				
			||||||
@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					symlink('/etc/nginx/sites-available/'.$vhost['file'], '/etc/nginx/sites-enabled/'.$vhost['file']);
 | 
				
			||||||
 | 
					exec('nginx -c /etc/nginx/nginx.conf -t 2>&1', $output);
 | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue