Browse Source

fix configs nginx examples 30.11.21:16.37

root 3 years ago
parent
commit
a74150c6b3

+ 1 - 1
certbot4nginx/auto4certbot.sh

@@ -4,7 +4,7 @@
4
 # create new cert
4
 # create new cert
5
 path_ssl="/etc/ssl";
5
 path_ssl="/etc/ssl";
6
 path_cert="/etc/letsencrypt/live";
6
 path_cert="/etc/letsencrypt/live";
7
-source "/etc/scripts/auto4certbot/auto4certbot.conf";
7
+source "/etc/scripts/certbot4nginx/auto4certbot.conf";
8
 log="/var/log/syslog";
8
 log="/var/log/syslog";
9
 #
9
 #
10
 cmd=$1;
10
 cmd=$1;

+ 1 - 1
certbot4nginx/examples/nginx/ssl/ssl_mydomen-ru.conf

@@ -2,4 +2,4 @@ ssl_certificate                 /etc/letsencrypt/live/mydomen.ru/cert.pem;
2
 ssl_certificate_key             /etc/letsencrypt/live/mydomen.ru/privkey.pem;
2
 ssl_certificate_key             /etc/letsencrypt/live/mydomen.ru/privkey.pem;
3
 ssl_trusted_certificate         /etc/letsencrypt/live/mydomen.ru/fullchain.pem;
3
 ssl_trusted_certificate         /etc/letsencrypt/live/mydomen.ru/fullchain.pem;
4
 
4
 
5
-include /etc/letsencrypt/options-ssl-nginx.conf;
5
+include /usr/lib/python3/dist-packages/certbot_nginx/options-ssl-nginx.conf;