Commit 067ca27
committed
feat: redirect www.essentialcsharp.com to apex domain
Adds a 301 redirect in the production middleware pipeline that strips
the 'www.' prefix and redirects to the apex domain. Runs after
UseForwardedHeaders so the real Host header is available behind the
Azure Container Apps ingress proxy.1 parent bf8390a commit 067ca27
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
518 | 532 | | |
519 | 533 | | |
520 | 534 | | |
| |||
0 commit comments