七万号·数据平台实战手记

Back

生命周期简介#

# 使用httpbin 验证转发 以及header修改
podman run -p 8080:80 docker.io/kong/httpbin:latest

RUST_LOG=INFO cargo run

# 该请求会转发到8080 并体系header修改
curl localhost:18081/get -v
bash

静态路由代理#

动态路由转发#

代码仓库#

GITHUBpo-hproxy

ATOMpo-hproxy

Building dynamic routing forwarding based on pingora
https://realcpf.tech/blog/pingora-simple
Author 刘佳成
Published at 2024年5月29日