Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct { // UWSGIParams is a map of static uwsgi params to be passed to uWSGI server. // This is useful for example, setting UWSGI_SCRIPT (uWSGI may require this for some request) and many other params. UWSGIParams map[string]string `json:"uwsgi_params,omitempty"` }
The uwsgi transport module allows you to proxy requests to an uWSGI server with uwsgi protocol.
Caddyfile syntax is supported:
```caddyfile
reverse_proxy [<matcher>] [<upstreams...>] { transport uwsgi { # in case you need to set uwsgi params (for example UWSGI_SCRIPT), add this: uwsgi_param <key> <value> } }
```
func (Transport) CaddyModule ¶
func (Transport) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
Click to show internal directories.
Click to hide internal directories.