
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
FreeGo is a node.js http proxy for redirecting requests to different targeted servers via cookies, especially suitable for mobile hosts quick switching.
npm install freego --save
var freego = require('freego');
freego({
// Configurations
proxy: {
freeGo: {
pattern: /http:\/\/freego.com\//,
target: [
{
name: 'Testing',
ip: '127.0.0.1',
port: '80'
}
// List of servers
]
}
}
});
You need to do a little server configuration staff before using FreeGo. If you're using nginx, add rules to make sure it send requests to FreeGo if url or cookie contains "free_go_proxy". It might look like something below:
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://$myserver;
}
location /free_go_proxy {
proxy_set_header Host $host;
...
proxy_pass http://freegoproxy;
}
map $COOKIE_free_go_proxy $myserver {
~* freegoproxy;
default myserver;
}
upstream freegoproxy {
# FreeGo server
server 127.0.0.1:13191;
}
upstream myserver {
server 127.0.0.1:13192;
}
After that, navigate http://xxx/free_go_proxy
to enable freeGo for all pages.
If a little icon appears in the right bottom corner of the page, it is
successfully done.
FreeGo is released under the MIT license. Please see LICENSE for full details.
FAQs
Proxy for redirecting requests to targeted servers
The npm package freego receives a total of 32 weekly downloads. As such, freego popularity was classified as not popular.
We found that freego demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.