Open nsp37 opened 1 year ago
hey @nsp37 I think this might be related to issue I just opened #92 Can you provide more details what configuration you've added in AFD?
In AFD under the Route - you can hardcode the forwarded HOST header - you need to set this to the custom domain. It defaults to the AFD original hostname so Wordpress will redirect you infinitely.
To get AppService to accept the host heaader you have to then add the Custom Domain there as well - but only validate it, do not bind it.
Hey, Thanks for your help!
I tried something similar but I'm getting lost in the wordpress space and can't get any logs out of WP.
My Setup is:
AFD:
site1.foo.com
to Azure App Service with origin group that has Origin Host Header
set to site1.foo.com
(instead of wordpress-foo.azurewebsites.net
). Origin Path is set to /site1App Service
site1.foo.com
- validated without CNAMEWP:
WORDPRESS_MULTISITE_TYPE - subdirectory
WORDPRESS_MULTISITE_CONVERT - true
site1
site1
settings changed site Address (URL)
, home
and siteurl
to https://site1.foo.com
Is that correct?
When setting AFD_CUSTOM_DOMAIN setup doesnt tackle (or define steps to):