mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	certbot: Use --standalone mode during installer.
This should help avoid problems, since we don't need to install `nginx` before using this mode.
This commit is contained in:
		@@ -45,7 +45,7 @@ fi
 | 
				
			|||||||
wget https://dl.eff.org/certbot-auto -O /root/certbot-auto
 | 
					wget https://dl.eff.org/certbot-auto -O /root/certbot-auto
 | 
				
			||||||
chmod a+x /root/certbot-auto
 | 
					chmod a+x /root/certbot-auto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/root/certbot-auto --nginx certonly -d "$DOMAIN" -m "$EMAIL" --agree-tos --non-interactive
 | 
					/root/certbot-auto --standalone certonly -d "$DOMAIN" -m "$EMAIL" --agree-tos --non-interactive
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Link the generated cert to the path read by Zulip
 | 
					# Link the generated cert to the path read by Zulip
 | 
				
			||||||
ln -nsf /etc/letsencrypt/live/"$DOMAIN"/privkey.pem /etc/ssl/private/zulip.key
 | 
					ln -nsf /etc/letsencrypt/live/"$DOMAIN"/privkey.pem /etc/ssl/private/zulip.key
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user