Commit 5f422e0
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 d349822 commit 5f422e0
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
496 | 510 | | |
497 | 511 | | |
498 | 512 | | |
| |||
0 commit comments