Skip to content

h2cone/gatekeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatekeeper

A simple HTTP proxy server.

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

This project requires Rust and Cargo to be installed on your machine. You can download and install them from the official Rust website.

Installation

  1. Clone the repo
git clone https://github.com/h2cone/gatekeeper
  1. Navigate to the project directory
cd gatekeeper
  1. Build the project
cargo build

Usage

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

Command Line Arguments

  • -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.
  • ...

Releases

No releases published

Packages

No packages published

Languages