Sitecore with Azure Front Door and Your New Frenemy, The X-FORWARDED-PORT Header
If you’re using Sitecore on AKS or Azure App Services, you may be using Azure Front Door as a reverse proxy for your site.
Recently I needed to set the search scope for a Sitecore SXA search component to show only items after today - a common requirement for things like upcoming events where we need past events to fall off the list.
Deploying Sitecore applications to Kubernetes is a little trickier than the old-fashioned “copy files to a VM” deployments - fortunately, by using Kubernetes, we’re now in the cool kids club and the cool kids have some cool toys.