How does certificate.call() work ?

32 views
Skip to first unread message

Luigi Sambolino

unread,
Jun 4, 2020, 5:06:25 AM6/4/20
to openresty-en
Hi,

In our infrastructure we are using Kubernetes 1.13 together with NGINX ingress-Controller 0.24.1 and OpenResty/lua (How do we check the installed version?).

In /etc/nginx/nginx.conf we see:

        listen 443 proxy_protocol  default_server reuseport backlog=511 ssl http2;
       
       
# PEM sha: 539006fba9301ae42c72984bc8044ab6a9fafa00
        ssl_certificate                        
/etc/ingress-controller/ssl/default-fake-certificate.pem;
        ssl_certificate_key                    
/etc/ingress-controller/ssl/default-fake-certificate.pem;
       
        ssl_certificate_by_lua_block
{
            certificate
.call()
       
}

how does certificate.call() works ?

Thanks

Reply all
Reply to author
Forward
0 new messages