Skip to content

Instantly share code, notes, and snippets.

@HoussenMoshine
Created June 27, 2018 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HoussenMoshine/4dc1afe6edecfa46c03f3b8d347574a1 to your computer and use it in GitHub Desktop.
Save HoussenMoshine/4dc1afe6edecfa46c03f3b8d347574a1 to your computer and use it in GitHub Desktop.
Un bout de configuration d'un site sous Nginx pour inclure le fichier de configuration SSL
server {
listen 443 ssl http2;
root /le repertoire de votre site;
index index.php index.html index.htm;
server_name votresite.com;
ssl_certificate /etc/letsencrypt/live/votresite.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/votresite.com/privkey.pem;
include snippets/votrefichierssl.conf;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment