António César de Andrade
Como instalar certificados SSL para o seu site com Certbot e LetsEncrypt
let https = require(“https”); // Choose port based on whether we’re on loaclhost or production server const port = process.env.node_env === ‘production’ ? 443 : 3000; // Link to generated certificate files // (replace example.com with your own domain name) // (see how to generate them later in this tutorial) const key = `/etc/letsencrypt/live/example.com/privkey.pem`; const … Ler mais