Letsencrypt, is the webroot path necessary?

0

I am configuring a server with Nginx and letsencrypt but I have doubts about whether it is mandatory to fill in this field.

letsencrypt certonly -a webroot --webroot-path=/var/www/html -d example.com

I have a node application in /home/pruebas/index.js, is this my webroot?

Greetings and thanks

    
asked by Pablo Cegarra 11.02.2017 в 22:58
source

1 answer

1

The home is the directory where your .htacces is and if it is necessary, because letsencrypt does ACME tests against your server to verify that you are the owner of the server

    
answered by 11.02.2017 в 23:06