Basic Reverse Proxy
A minimal HTTP reverse proxy with one listener and one upstream cluster.
Category: Practical
Task: Forward HTTP requests to an upstream
Prerequisites: Praxis runtime; An HTTP backend reachable from the proxy
Expected outcome: Requests received on the configured listener are forwarded to the backend.
Run it: Use ghcr.io/praxis-proxy/praxis:0.7.2 and follow the first reverse-proxy tutorial to mount and start the configuration.
This configuration comes from the selected release. The example has not been run here; external services are not bundled.
Download the source file.
# Basic HTTP Reverse Proxy
#
# Minimal config: one listener, one upstream, default filter chain.
#
listeners:
- name: default
address: "127.0.0.1:8080"
filter_chains: [main]
filter_chains:
- name: main
filters:
- filter: router
routes:
- path_prefix: "/"
cluster: backend
- filter: load_balancer
clusters:
- name: backend
endpoints:
- "127.0.0.1:3000"
insecure_options:
allow_private_endpoints: true # example proxies to local backends