Skip to content

Commit

Permalink
docs: update plugin redirect port when http_to_https at en usage
Browse files Browse the repository at this point in the history
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
  • Loading branch information
kwanhur and spacewander authored May 1, 2022
1 parent 76007ac commit 8767233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/latest/plugins/redirect.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The `redirect` Plugin can be used to configure redirects.

Only one of `http_to_https`, `uri` and `regex_uri` can be configured.

* When enable `http_to_https`, you can specify redirect server port with the header `X-Forwarded-Port`.
* When enabling `http_to_https`, the port in the redirect URL will be the value of header `X-Forwarded-Port` or the port of the server.

:::

Expand Down

0 comments on commit 8767233

Please sign in to comment.