You simply have to switch the NGINX endpoint to 443 and the proper SSL configuration. The part between NGINX and Apache stays the same (proxy_pass to port 80 of Apache).
If you also want to secure the connection between NGINX and Apache, you'd need a client certificate for NGINX and a second server certificate for Apache. NGINX will use a proxy_pass via SSL and with a client certificate towards Apache, while the Apache server will use the second SSL certificate and verify the client calling to make sure it's the NGINX.
--j.
If you also want to secure the connection between NGINX and Apache, you'd need a client certificate for NGINX and a second server certificate for Apache. NGINX will use a proxy_pass via SSL and with a client certificate towards Apache, while the Apache server will use the second SSL certificate and verify the client calling to make sure it's the NGINX.
--j.