
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
This application starts a http proxy and provides a command line interface for handling it under Ubuntu.
mproxy.js is an easy to use proxy for http data traffic. It listens to a port and then decides where to forward the request based on the virtual host name included in the request.
mproxy.js basically implements a simple CLI on top of the node module http-proxy. The goal is to make it easy to set up a proxy on a system and have it autostart and configurable. This application is intended to be used in a Ubuntu environment and some of the features depend on the Ubuntu service framework.
One use case for this proxy could be that you already have an Apache webserver up and running and want to keep that for some hosts. But at the same time you wants to have some host go to a specific node application. Since both Apache and your node application can not listen to port 80 at the same time a proxy is needed. The solution could then be to move the Apache port to 8000 and running your node application on port 8080. The proxy can then be configured to forward requests on one hostname to Apache and others to the node application.
Some tips on what to change in Apache to make it use another port can be found later in this document.
$ sudo apt-add-repository http://ppa.launchpad.net/chris-lea/node.js/ubuntu
$ sudo aptitude update
$ sudo apt-get install nodejs npm
$ git clone https://github.com/mattiasrunge/mproxy.js.git
$ cd mproxy.js
$ sudo npm install . -g
$ sudo mproxy --init
$ sudo emacs /etc/mproxy.json
In the sample configuration created with --init describes two dummy paths with a virtual hostname and a forward path consisting of a hostname and a port.
$ sudo mproxy --autostart on
$ sudo service mproxy start
ports.conf:NameVirtualHost *:8000
ports.conf:Listen 8000
<VirtualHost *:8000>
FAQs
This application starts a http proxy and provides a command line interface for handling it under Ubuntu.
We found that mproxy.js 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.