Answers for "ssl certificate install nginx"

2

nginx ssl

server {
    listen              443 ssl;
    server_name         www.example.com;
    ssl_certificate     www.example.com.crt;
    ssl_certificate_key www.example.com.key;
    ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers         HIGH:!aNULL:!MD5;
    ...
}
Posted by: Guest on September-15-2021
-1

free ssl certificate for nginx

# add repository
sudo apt-add-repository -r ppa:certbot/certbot

# update system
sudo apt update

# install certbot
sudo apt install certbot python3-certbot-nginx

# generate and create SSL for server 
certbot --nginx -d example.com -d www.example.com
Posted by: Guest on August-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language