toxy/config.rs
1use serde::Deserialize;
2
3/// Upstream, reverse proxy configuration.
4#[derive(Deserialize)]
5pub struct UpstreamConfig {
6 /// The upstream HTTP server URL this proxy should forward requests to after potentially
7 /// initiating a token exchange.
8 #[serde(alias = "forward-url")]
9 pub forward_url: String
10}