using variables in certificate path names

Aleksey Portnov a.portnov at ism-ukraine.com
Tue Dec 15 09:44:45 UTC 2015


Hello!

Is it possible and correct something like:

server {
    listen 1.1.1.1:443 ssl;

    server_name     sitename.de sitename.fr  sitename.nl;
   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: <http://mailman.nginx.org/pipermail/nginx/attachments/20151215/420ed9c5/attachment.html>


More information about the nginx mailing list