Skip to content

Commit

Permalink
Add 'secure: false' to http proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
tamascsaba committed May 25, 2017
1 parent a2003c1 commit a3f9554
Show file tree
Hide file tree
Showing 2 changed files with 1,641 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function HttpServer(options) {
}));

if (typeof options.proxy === 'string') {
var proxy = httpProxy.createProxyServer({});
var proxy = httpProxy.createProxyServer({ secure: false });
before.push(function (req, res) {
proxy.web(req, res, {
target: options.proxy,
Expand Down

0 comments on commit a3f9554

Please sign in to comment.