“Ubuntu certbot nginx” Kode Jawaban

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
Almabek

Ubuntu certbot nginx

sudo add-apt-repository ppa:certbot/certbot
sudo apt install python-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com
Almabek

nginx letsencrypt

sudo certbot renew
sudo service nginx restart
Shahul

Jawaban yang mirip dengan “Ubuntu certbot nginx”

Pertanyaan yang mirip dengan “Ubuntu certbot nginx”

Lebih banyak jawaban terkait untuk “Ubuntu certbot nginx” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya