Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rewrite ¶
type Rewrite struct { Method string `json:"method,omitempty"` URI string `json:"uri,omitempty"` StripPathPrefix string `json:"strip_path_prefix,omitempty"` StripPathSuffix string `json:"strip_path_suffix,omitempty"` HTTPRedirect caddyhttp.WeakString `json:"http_redirect,omitempty"` Rehandle bool `json:"rehandle,omitempty"` // contains filtered or unexported fields }
Rewrite is a middleware which can rewrite HTTP requests.
func (Rewrite) CaddyModule ¶
func (Rewrite) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
Click to show internal directories.
Click to hide internal directories.