docs.rs failed to build pingap-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
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
Graceful restart
Validate the configurations, send quit signal to pingap, then start a new process to handle all requests.
RUST_LOG=INFO && && RUST_LOG=INFO
Config
All toml configurations are as follows pingap.toml.
Proxy step
graph TD;
start("new request")-->server;
server -- "host:HostA, Path:/api/*" --> locationA
server -- "Path:/rest/*"--> locationB
locationA -- "10.0.0.1:8001" --> upstreamA1
locationA -- "10.0.0.2:8001" --> upstreamA2
locationB -- "10.0.0.1:8002" --> upstreamB1
locationB -- "10.0.0.2:8002" --> upstreamB2
License
This project is Licensed under Apache License, Version 2.0.