foreach does not work

Saint Michael venefax at gmail.com
Tue Feb 21 07:23:27 UTC 2023


I am using openresty
nginx -version
nginx version: openresty/1.21.4.1



>  foreach $domain in $server_name {
>>
>         ssl_certificate /etc/letsencrypt/live/$domain/fullchain.pem;
>         ssl_certificate_key /etc/letsencrypt/live/$domain/privkey.pem;
>     }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230221/f20995a3/attachment.htm>


More information about the nginx mailing list