Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
NodeJS Route for LetsEncrypt cert validation
// Lets encrypt response
var letsEncryptUrl = process.env.LETS_ENCRYPT;
var letsEncryptResponse = process.env.LETS_ENCRYPT_RESPONSE;
if( letsEncryptResponse != undefined && letsEncryptResponse != undefined) {'/.well-known/acme-challenge/' + letsEncryptUrl, function (req, res) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.