using variables in certificate path names

Aleksey Portnov a.portnov at
Tue Dec 15 09:44:45 UTC 2015


Is it possible and correct something like:

server {
    listen ssl;

   root /var/www/vhosts/Live/public_html;

   ssl_certificate /etc/ssl/web/$host.pem;
   ssl_certificate_key /etc/ssl/web/$host.key;

 #commont  part for all sites

Sincerely yours,
     Alexey Portnov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list