skip to Main Content

Nodejs https combined with cpanel

I am trying to get https working on my nodejs server like so: var http = require('http'); var https = require('https'); var fs = require('fs'); var express = require('express'); var privateKey = fs.readFileSync('server.key', 'utf8'); var certificate = fs.readFileSync('server.crt', 'utf8'); var…

VIEW QUESTION
Back To Top
Search