add tricot-add-redirect in readme
This commit is contained in:
parent
2b3f934247
commit
b76b6dcbcc
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ Backends are configured by adding tags of the following form to the services in
|
|||
- `tricot myapp.example.com/path/to_subresource 10`: combining the previous two examples
|
||||
- `tricot-https myapp.example.com`: same, but indicates that the backend service handling the request expects an HTTPS request and not an HTTP request. In this case, Tricot will do everything in its power to NOT verify the backend's TLS certificate (ignore self-signed certificate, ignore TLS hostname, etc).
|
||||
- `tricot-add-header Access-Control-Allow-Origin *`: add the `Access-Control-Allow-Origin: *` header to all of the HTTP responses when they are proxied back to the client
|
||||
- `tricot-add-redirect old.example.com/maybe_subpath new.example.com/new/subpath 301`: redirects paths that match the first pattern to the second pattern with the given HTTP status code. More info in [PR#10](https://git.deuxfleurs.fr/Deuxfleurs/tricot/pulls/10).
|
||||
- `tricot-global-lb`: load-balance incoming requests to all matching backends
|
||||
- `tricot-site-lb`: load-balance incoming requests to all matching backends that are in the same site (geographical location); when site information about nodes is not available, this is equivalent to `tricot-global-lb`
|
||||
|
||||
|
|
Loading…
Reference in a new issue