Last active
February 15, 2023 04:44
-
-
Save rorens05/8e5bbb87a5383588488bd7fba1ffe559 to your computer and use it in GitHub Desktop.
NGINX Setup and SSL Installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install nginx | |
sudo apt-get install -y nginx-extras | |
# install generator | |
sudo apt install certbot python3-certbot-nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For apache
sudo apt install certbot python3-certbot-apache
Create config file
sudo nano /etc/apache2/sites-enabled/support.tekteach.com.conf
Initial Config
Generate SSL
sudo certbot --apache