Skip to content

Instantly share code, notes, and snippets.

View bakkerme's full-sized avatar
💻
I am computer

Brandon Bakker bakkerme

💻
I am computer
View GitHub Profile
var fs = require('fs');
var http = require('http'),
httpProxy = require('http-proxy');
httpProxy.createProxyServer(
{
target:'http://localhost:8081',
ssl: {
key: fs.readFileSync('key.pem', 'utf8'),
cert: fs.readFileSync('cert.pem', 'utf8'),