I've deployed an Angular 14 app to an Azure App Service and need to setup re-write rules so that refreshing routes doesn't throw 404 errors. Hitting the site root (index.html) works fine, the app functions normally until you try to navigate directly to a route withing the app such as /orders for example.
I deploy using github actions and have setup to run on ubuntu and it's a mystery whether Apache or Nginx are serving pages. I setup a staticwebapp.config.json with navigationFallback rules but this appears to be something used by Azure 'Static Web App' services rather than 'App Services'. Online documentation for this is sparse and there is a ton of info on IIS web.config. SSH doesn't seem to reveal much either. This can't be that difficult unless something huge is missing !
I've tried hunting in SSH, I've tried inspecting response headers on the app, watched videos etc, what's missing ???