🚀
Semaphore
  • Introduction
  • Getting started
    • Go API
    • CLI
    • Docker
    • Examples
  • Cookbook
    • Flows
      • References
      • Error handling
      • Conditional logic
      • Proxy forward
    • Schemas
      • Protobuffers
    • Transport
      • HTTP
      • Go micro
      • GraphQL
    • DevOps
  • Contributing
Powered by GitBook
On this page
  1. Cookbook
  2. Flows

Proxy forward

This is currently a experimental feature and might change in the future.

PreviousConditional logicNextSchemas

Last updated 5 years ago

Introduction

Proxy forwarding allows the entire request to be forwarded to other services. A proxy forward is unable to switch protocol and forwards the entire request body to the targeted service. Requests could be made before forwarding a request. The input body could not be used in any of the configured resources.

proxy "forward" {
	resource "authenticate" {
		request "auth" "User" {
		}
	}

	forward "hub" {
	}
}

Not all protocols support proxy forwarding, please check the protocol documentation for more information

Check out the hubs example inside the git repo.
Sample architecture using a Maestro gateway (M1) and hubs (M2, M3)