@Tina ,
To assist you better on this, have you provisioned WordPress on App Service or on an Azure VM or some other Azure resource? What specific docker image are you using?
Hosting a site on an Azure VM (IAAS), you would typically configure it the same way as you would on-prem.
Checkout this third-party GitHub repo , where users were able to fix similar issues by making changes to the config/docker image:
Note: this post contains URL to non Azure repo, exercise caution while trying the steps.
-We may have re-tag to receive insights from the targetted audiences/SMEs.