Issuing A Letsencrypt Certification For Magento2 With Nginx
How to Issue a Certificate for Magento 2 on Nginx#
-
Follow these instructions
-
Add to the
nginx.conf.example
file thelocation bit
-
Run the following command, take note of the
/pub
directorysudo letsencrypt certonly -a webroot –webroot-path=/var/www/magento2/pub -d example.com -d example.com