
Security News
GitHub Actions Supply Chain Attack Puts Thousands of Projects at Risk
A compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
reverse_proxy_pathmapper
Advanced tools
Reverse proxy URL path mapper using http-proxy.
import {ReverseProxyPathMapper} from "reverse_proxy_path_mapper";
new ReverseProxyPathMapper({}, pathMapper).serve(9000);
/
URL
(Destination Server URL) and rewriteURL
(Either to append Destination URL with the incoming url or not);const pathMapper = {
'/8080/?(.*)': 'http://localhost:8080', // value must not end with trailing slash
'/8081/?(.*)': {
URL: 'http://localhost:8081',
rewriteURL: false
// since rewriteURL is false proxy will append '/8081/<regex url>' to http://localhost:8081 -> Final URL: 'http://localhost:8081/8081/<regex url>'
},
'/8081/static': {
URL: 'http://localhost:8081',
rewriteURL: true
// since rewriteURL is true proxy will not append '/8081/static' to http://localhost:8081 -> Final URL: http://localhost:8081
}
}
FAQs
Reverse proxy URL path mapper using http-proxy.
The npm package reverse_proxy_pathmapper receives a total of 0 weekly downloads. As such, reverse_proxy_pathmapper popularity was classified as not popular.
We found that reverse_proxy_pathmapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
Research
Security News
A malicious Maven package typosquatting a popular library is secretly stealing OAuth credentials on the 15th of each month, putting Java developers at risk.
Security News
Socket and Seal Security collaborate to fix a critical npm overrides bug, resolving a three-year security issue in the JavaScript ecosystem's most popular package manager.