A simple HTTP proxy server.
To get a local copy up and running, follow these simple steps.
This project requires Rust and Cargo to be installed on your machine. You can download and install them from the official Rust website.
- Clone the repo
git clone https://github.com/h2cone/gatekeeper
- Navigate to the project directory
cd gatekeeper
- Build the project
cargo build
You can run the server using the cargo run
command followed by the necessary flags. Here is an example:
cargo run -- -c conf.yaml --ba 0.0.0.0:8008 --pa 127.0.0.1:3000
-c <FILE>
: Sets a custom config file.-d
: Enables daemon mode.--ba <BIND_ADDRESS>
: Sets the bind address for the server.--cp <CONTEXT_PATH>
: Sets the context path for the server.--pa <PEER_ADDRESS>
: Sets the peer address for the server.- ...