cprox v1.9.22
CProX (deprecated)
CProX is an easy to configure static serve, redirect, reverse proxy and load balancing web server.
Features
- Support for
http,https,ws,wssand any subprotocol. - Simple
cli tooland easyenvtionment variables. Automatically
self-signed certificateif required (or disabled)!
Tested with
- node v16
- npm v8
Configuration
Please checkout the configuration guide.
But here a quick example:
cprox \
*=STATIC:/var/www/html \
*/test=STATIC:/var/www/test \
example.com=REDIRECT:https://www.example.com \
www.example.com=STATIC:/var/www/example \
www.example.com/proxy=PROXY:http://127.0.0.1:58080Gettings started
Checkout the test.sh and the start.sh scripts to understand what you need to think about and how to start the server.
Install
npm i -g cproxHelp
Checkout the help output for a quit overview:
cprox -hRun
Run as redirect server:
cprox *=REDIRECT:https://start.duckduckgo.comRun as static file server:
cprox *=STATIC:/var/www/htmlRun as proxy server:
cprox *=PROXY:http://127.0.0.1:8080Cli tool help output:
Contributing
Contributions to this project are welcome!
Interested users can refer to the guidelines provided in the CONTRIBUTING.md file to contribute to the project and help improve its functionality and features.
License
This project is licensed under the MIT license, providing users with flexibility and freedom to use and modify the software according to their needs.
Disclaimer
This project is provided without warranties.
Users are advised to review the accompanying license for more information on the terms of use and limitations of liability.
8 months ago
8 months ago
9 months ago
9 months ago
10 months ago
10 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago