Skip to content

Instantly share code, notes, and snippets.

@heapwolf heapwolf/47.js
Created Aug 7, 2012

What would you like to do?
var https = require('https');
var fs = require('fs');
var options = {
key: fs.readFileSync('key.pem'),
cert: fs.readFileSync('cert.pem')
var a = https.createServer(options, function (req, res) {
res.end("hello world\n");
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.