https://github.com/wxh06/caddy-uwsgi-transport
uwsgi reverse proxy transport for Caddy v2
https://github.com/wxh06/caddy-uwsgi-transport
caddy caddy-module caddy-plugin caddy2 uwsgi
Last synced: about 1 month ago
JSON representation
uwsgi reverse proxy transport for Caddy v2
- Host: GitHub
- URL: https://github.com/wxh06/caddy-uwsgi-transport
- Owner: wxh06
- License: apache-2.0
- Created: 2023-02-23T02:35:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-17T06:30:31.000Z (over 1 year ago)
- Last Synced: 2025-03-29T08:33:07.410Z (about 2 months ago)
- Topics: caddy, caddy-module, caddy-plugin, caddy2, uwsgi
- Language: Go
- Homepage:
- Size: 239 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# caddy-uwsgi-transport
This module adds [uwsgi](https://uwsgi-docs.readthedocs.io/en/latest/Protocol.html) reverse proxying support to Caddy.
ID: `http.reverse_proxy.transport.uwsgi`
## Installation
By using [`xcaddy`](https://caddyserver.com/docs/build#xcaddy)
```sh
xcaddy build \
--with github.com/wxh06/caddy-uwsgi-transport
```## Usage
### Caddyfile
```caddyfile
reverse_proxy [] [] {
transport uwsgi
}
```### JSON
```json
{
"apps": {
"http": {
"servers": {
"": {
"routes": [
{
"handle": [
{
"handler": "reverse_proxy",
"transport": { "protocol": "uwsgi" },
"upstreams": [{ "dial": "" }]
}
]
}
]
}
}
}
}
}
```