Skip to content

create http redirect service layer #716

@GlenDC

Description

@GlenDC

We already have a network and proxy forward service. We have not yet an http one.

The goal of this new service is to make it easier to create a rule tree (including a single rule) to forward one url to another url (using a redirect resolution, e.g. status code 302).

Currently we already do this in some private services built with rama, but each time manually crafted using a custom service developed "from scratch". This has been done sufficiently amount of times, that clearly we can better make a service for it to make this easier.

Wildcard examples

  • forward www.example.com/* to example.com/*
  • forward *.example.org/* to example.com/*

We could however also go fancier and allow to use path parameters and also make those available... etc.
To be figured out...

This could then be used to create a forwarder, with as a fallback your regular router.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions