letsencrypt install + ssl nginx conf vhost

This commit is contained in:
Bachir Soussi Chiadmi
2018-04-06 19:15:20 +02:00
parent 10738b8897
commit 9677df40ab
7 changed files with 341 additions and 81 deletions

View File

@@ -1,8 +1,8 @@
# https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/
server {
listen 80;
server_name yourdomain.ltd;
root /var/www/yourdomain.ltd/public_html;
server_name DOMAIN.LTD;
root /var/www/DOMAIN.LTD/public_html;
charset utf-8;
@@ -62,7 +62,7 @@ server {
}
access_log on;
error_log /var/www/yourdomain.ltd/log/error.log;
error_log /var/www/DOMAIN.LTD/log/error.log;
sendfile off;