Created
June 27, 2018 08:42
-
-
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
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
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