Skip to main content

nginx use $server_name on ssl_certificate path [Resolved]

How I can use a variable name in file path ?

ssl_certificate /home/ec2-user/.certificados/$server_name.crt;
ssl_certificate_key /home/ec2-user/.certificados/$server_name.key;

Question Credit: Claytinho
Question Reference
Asked January 31, 2019
Tags: nginx
Posted Under: Network
80 views
Your Answer
D:\Adnan\Candoerz\CandoProject\vQA