Skip to content

Commit e7bf87c

Browse files
Merge pull request #233416 from duongau/afdredirect
Azure Front Door - URL redirect - freshness review
2 parents 9083079 + 9f6f238 commit e7bf87c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/frontdoor/front-door-url-redirect.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ author: duongau
77
ms.service: frontdoor
88
ms.topic: conceptual
99
ms.workload: infrastructure-services
10-
ms.date: 03/09/2022
10+
ms.date: 04/04/2023
1111
ms.author: duau
1212
zone_pivot_groups: front-door-tiers
1313
---
1414

1515
# URL redirect
1616

17-
Azure Front Door can redirect traffic at each of the following levels: protocol, hostname, path, query string. These functionalities can be configured for individual microservices since the redirection is path-based. This can simplify application configuration by optimizing resource usage, and supports new redirection scenarios including global and path-based redirection.
17+
Azure Front Door can redirect traffic at each of the following levels: protocol, hostname, path, query string. These functionalities can be configured for individual microservices since the redirection is path-based. This setup can simplify application configuration by optimizing resource usage, and supports new redirection scenarios including global and path-based redirection.
1818

1919
::: zone pivot="front-door-standard-premium"
2020

@@ -31,18 +31,19 @@ In Azure Front Door Standard/Premium tier, you can configure URL redirect using
3131
::: zone-end
3232

3333
## Redirection types
34+
3435
A redirect type sets the response status code for the clients to understand the purpose of the redirect. The following types of redirection are supported:
3536

36-
- **301 (Moved permanently)**: Indicates that the target resource has been assigned a new permanent URI. Any future references to this resource will use one of the enclosed URIs. Use 301 status code for HTTP to HTTPS redirection.
37+
- **301 (Moved permanently)**: Indicates that the target resource has been assigned a new permanent URI. Any future references to this resource use one of the enclosed URIs. Use 301 status code for HTTP to HTTPS redirection.
3738
- **302 (Found)**: Indicates that the target resource is temporarily under a different URI. Since the redirection can change on occasion, the client should continue to use the effective request URI for future requests.
3839
- **307 (Temporary redirect)**: Indicates that the target resource is temporarily under a different URI. The user agent MUST NOT change the request method if it does an automatic redirection to that URI. Since the redirection can change over time, the client ought to continue using the original effective request URI for future requests.
3940
- **308 (Permanent redirect)**: Indicates that the target resource has been assigned a new permanent URI. Any future references to this resource should use one of the enclosed URIs.
4041

4142
## Redirection protocol
42-
You can set the protocol that will be used for redirection. The most common use cases of the redirect feature, is to set HTTP to HTTPS redirection.
43+
You can set the protocol that is used for redirection. The most common use cases of the redirect feature are to set HTTP to HTTPS redirection.
4344

4445
- **HTTPS only**: Set the protocol to HTTPS only, if you're looking to redirect the traffic from HTTP to HTTPS. Azure Front Door recommends that you should always set the redirection to HTTPS only.
45-
- **HTTP only**: Redirects the incoming request to HTTP. Use this value only if you want to keep your traffic HTTP that is, non-encrypted.
46+
- **HTTP only**: Redirects the incoming request to HTTP. Use this value only if you want to keep your traffic HTTP that is, nonencrypted.
4647
- **Match request**: This option keeps the protocol used by the incoming request. So, an HTTP request remains HTTP and an HTTPS request remains HTTPS post redirection.
4748

4849
## Destination host

0 commit comments

Comments
 (0)