pingap 0.1.0

A reverse proxy like nginx
pingap-0.1.0 is not a library.
Visit the last successful build: pingap-0.12.0

pingap

What is Pingap

A reverse proxy like nginx, built on pingora, simple and efficient.

Feature

  • Filter location by host and path
  • HTTP 1/2 end to end proxy
  • Graceful reload
  • Template for http access log
  • TOML base configuration

Start

Loads all configurations from /opt/proxy and run in the background. Log appends to /opt/proxy/pingap.log.

RUST_LOG=INFO pingap --conf=/opt/proxy -d --log=/opt/proxy/pingap.log

Graceful restart

Validate the configurations, send quit signal to pingap, then start a new process to handle all requests.

RUST_LOG=INFO pingap --conf=/opt/proxy -t \
  && pkill -SIGQUIT pingap \
  && RUST_LOG=INFO pingap --conf=/opt/proxy -d -u --log=/opt/proxy/pingap.log

Config

All toml configurations are as follows pingap.toml.

License

This project is Licensed under Apache License, Version 2.0.