salvo-proxy

Forward client requests to configurable backend services via a reverse proxy.

20|5|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/salvo-rs/salvo-skills --skill salvo-proxy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: salvo-proxy
Source: https://github.com/salvo-rs/salvo-skills/tree/main/skills/salvo-proxy
Command: npx skills add https://github.com/salvo-rs/salvo-skills --skill salvo-proxy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Expose and manage multiple backend services behind a single entry point, enabling centralized routing, security, and load balancing for Salvo applications.

Core Features & Use Cases

  • Load balancing across multiple backends to improve reliability and throughput.
  • Path-based routing and API gateway patterns to direct traffic to specific services.
  • Optional middleware support for authentication, header augmentation, and request transformation.
  • WebSocket and streaming proxy support where applicable.

Quick Start

Use the proxy skill to route requests to a set of backends using Proxy::new and assign routes to a router path.

Frequently Asked Questions about salvo-proxy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a reverse proxy for load balancing in a Salvo backend?

A reverse proxy in a Salvo backend forwards client requests to multiple backend services, enabling centralized load balancing. You configure routing rules and assign backends using Proxy::new to distribute traffic for improved reliability and throughput.

What is path-based routing and how does it work for API gateways?

Path-based routing directs incoming client requests to specific backend services based on their URL path. Acting as an API gateway, this pattern exposes multiple microservices behind a single entry point, managing traffic direction and security centrally.

Can I use Salvo to proxy WebSocket and streaming HTTP requests?

Yes, the reverse proxy supports WebSocket and streaming proxy. This allows persistent connections and continuous data streams to pass through the gateway to your backend services where applicable, handling real-time communication scenarios.

Does the Salvo proxy support request transformation and header manipulation?

Yes, it supports optional middleware for request transformation, header augmentation, and authentication. This allows you to modify incoming requests and secure routing rules before forwarding traffic to the configured backend services.

When do I need a reverse proxy for my microservices routing scenario?

You need a reverse proxy when managing multiple microservices behind a single entry point. It centralizes routing, applies API gateway patterns, and balances loads across configurable backends, which is essential for scaling distributed systems.

What are the limitations of using a reverse proxy for backend routing?

Limitations depend on the configurable HTTP clients and backends used. While it handles path-based routing and header manipulation, complex transformation logic might require additional middleware, and proxying introduces an extra network hop for client requests.