Proxy requests to other plugs.
- Multiple adatpers support:
Plug.Cowboy
/Bandit
- General plug support
- WebSocket support (requires
Plug >= 1.14
) - Phoenix Endpoint support (requires
Phoenix >= 1.7
)
Add :cozy_proxy
to the list of dependencies in mix.exs
:
def deps do
[
{:cozy_proxy, <requirement>}
]
end
For more information, see the documentation.
This library is built on the wisdom in following code:
- main_proxy
- snake_proxy
- master_proxy application inside the acme_bank project from wojtekmach
- master_proxy.ex from Gazler
Apache License 2.0