Re: Using $host variable in ssl_certificate path

2021-10-20 Thread dimitre
Thanks for the clarification Grzegorz, I'm going to research how to do it right with Certbot. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292653,292664#msg-292664 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

Re: Using $host variable in ssl_certificate path

2021-10-20 Thread Grzegorz Kulewski
W dniu 20.10.2021 o 19:27, dimitre pisze: > I'm now using Nginx 1.21. > I've noticed Nginx actually runs with variable in ssl certificate path, but > the certificate itself doesn't run. > ssl_certificate /etc/letsencrypt/live/$host/fullchain.pem; # managed by > Certbot > ssl_certificate_key /etc/le

Re: Using $host variable in ssl_certificate path

2021-10-20 Thread dimitre
I'm now using Nginx 1.21. I've noticed Nginx actually runs with variable in ssl certificate path, but the certificate itself doesn't run. ssl_certificate /etc/letsencrypt/live/$host/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/$host/privkey.pem; # managed by Certbot

Re: Using $host variable in ssl_certificate path

2021-10-20 Thread dimitre
Upgrading to mainline now. Unfortunately dnf still has the latest stable as 1.14 Thank you! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292653,292655#msg-292655 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listi

Re: Using $host variable in ssl_certificate path

2021-10-20 Thread Sergey Kandaurov
> On 20 Oct 2021, at 19:00, dimitre wrote: > > hello, I'm trying to use the variable $host in this entry: > > ssl_certificate /etc/letsencrypt/live/$host/fullchain.pem; > ssl_certificate_key /etc/letsencrypt/live/$host/privkey.pem; > > to potentially make one entry that fits multiple domai

Using $host variable in ssl_certificate path

2021-10-20 Thread dimitre
hello, I'm trying to use the variable $host in this entry: ssl_certificate /etc/letsencrypt/live/$host/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/$host/privkey.pem; to potentially make one entry that fits multiple domains, but it is not possible I think the variable $host is not