Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

nginx certbot ubuntu

// Ubuntu 20.04
sudo apt install certbot python3-certbot-nginx

// Ubuntu 18.04
sudo add-apt-repository ppa:certbot/certbot
sudo apt install python-certbot-nginx

// Configure ufw
sudo ufw allow 'Nginx Full'
sudo ufw delete allow 'Nginx HTTP'
sudo ufw delete allow 'Nginx HTTPS'

sudo certbot --nginx -d example.com
 
PREVIOUS NEXT
Tagged: #nginx #certbot #ubuntu
ADD COMMENT
Topic
Name
4+6 =