naugtur / https-proxy-cli Goto Github PK
View Code? Open in Web Editor NEWOne command to run a local https server proxying to local http
License: MIT License
One command to run a local https server proxying to local http
License: MIT License
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didn’t already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
14.0.2
to 14.1.0
.This version is covered by your current version range and after updating it in your project the build failed.
standard is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 8 commits.
efa9950
14.1.0
78ecd24
[email protected]
776bf9a
[email protected]
c988fbe
add 14.1.0 changelog
db55c98
babel-eslint@^10.0.3
1987362
eslint@~6.2.2
2ad67c0
Remove funding
experiment
08b5be0
typo
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
While developing and testing https it can be useful to be able to simulate a proxy server that sets those headers. In particular, the X-Forwarded-Proto would be helpful to debug/work with secure cookies in nodejs as a target.
Would it make sense to have a flag to enable injecting of these headers?
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto
When using the https-proxy the server shuts down with something like this:
Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1042:34)
at TLSSocket.emit (events.js:159:13)
at TLSSocket._finishInit (_tls_wrap.js:639:8)
For development reasons this feature would be useful.
Solution
httpProxy.createServer({
target: argv.target,
ssl: {
key: keys.serviceKey,
cert: keys.certificate
},
secure: !argv.insecure
})
1.17.0
to 1.18.0
.This version is covered by your current version range and after updating it in your project the build failed.
http-proxy is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 30 commits.
9bbe486
[dist] Version bump. 1.18.0
6e4bef4
Added in auto-changelog module set to keepachangelog format (#1373)
d056241
fix 'Modify Response' readme section to avoid unnecessary array copying (#1300)
244303b
Fix incorrect target name for reverse proxy example (#1135)
b4028ba
Fix modify response middleware example (#1139)
77a9815
[dist] Update dependency async to v3 (#1359)
c662f9e
Fix path to local http-proxy in examples. (#1072)
806e492
fix reverse-proxy example require path (#1067)
c8fa599
Update README.md (#970)
0d9ed36
[dist] Update dependency request to ~2.88.0 [SECURITY] (#1357)
9d75b98
[dist] Update dependency eventemitter3 to v4 (#1365)
192b2b9
[dist] Update dependency colors to v1 (#1360)
4a657a7
[dist] Update all non-major dependencies (#1356)
7a154f8
[dist] Update dependency agentkeepalive to v4 (#1358)
749eec6
[dist] Update dependency nyc to v14 (#1367)
There are 30 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
1.14.2
to 1.14.3
.This version is covered by your current version range and after updating it in your project the build failed.
pem is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 25 commits.
97643fa
chore(release): 1.14.3 [skip ci]
7b99a62
Create FUNDING.yml
53f1356
fix(package): fix #264 & remove package-lock.josn
5cf40a8
disable cache for npm
7014b81
chore(package): update lockfile package-lock.json
de0f354
chore(package): update eslint-plugin-import to version 2.18.1
ac71be2
Chore(deps): Bump eslint-utils from 1.3.1 to 1.4.2
c4e8f62
Chore(deps): Bump mixin-deep from 1.3.1 to 1.3.2
6dd09b0
fix readCertificateInfo for the case when cert subject is empty (#264)
179d2cc
Greenkeeper/mocha 6.1.4 (#252)
bfa7926
Merge pull request #253 from Dexus/dependabot/npm_and_yarn/lodash-4.17.14
093cc99
Chore(deps): Bump lodash from 4.17.11 to 4.17.14
8d01cf0
Merge pull request #249 from Dexus/greenkeeper/marked-0.7.0
a19f23c
Merge pull request #250 from Dexus/greenkeeper/eslint-plugin-import-2.18.0
3453e5f
chore(package): update lockfile package-lock.json
There are 25 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.