Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect doc update #331

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion website/docs/r/redirect.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ The following arguments are supported:
* `path` - (Required) The path on the domain to redirect from.
* `target` - (Required) The URL to redirect to.
* `id` - (Optional) The redirect id, if already created.
* `certificate_id` - (Optional) The certificate redirect id.
* `certificate_id` - (Optional) The certificate redirect id. If not specified the redirect will be created as HTTP,
but it may be turned to HTTPS if a certificate exists for the source domain on the server.
If the certificate is managed in terraform it's recommended to set explictly to "${ns1_redirect_certificate.name.id}".
* `forwarding_mode` - (Optional - defaults to "all") How the target is interpreted:
* __all__ appends the entire incoming path to the target destination;
* __capture__ appends only the part of the incoming path corresponding to the wildcard (*);
Expand Down
Loading