ZackWhedbee-8830 Typically, either you could .htaccess method or build your own containers for customization, to enable something that is a default web server setting vs otherwise.
For example, if it’s Laravel App, you may set the virtual application path for the app. Laravel application lifecycle begins in the public directory instead of the application's root directory. Yes, as you stated, by default, Azure App Service points the root virtual application path (/) to the root directory of the deployed application files (sites\wwwroot).
Just to highlight further, the deployment process installs Composer packages at the end. App Service does not run these automations during default deployment, so this sample repository has three additional files in its root directory to enable it:
• .deployment
- This file tells App Service to run bash deploy.sh as the custom deployment script.
• deploy.sh
- The custom deployment script. If you review the file, you will see that it runs php composer.phar install after npm install.
• composer.phar
- The Composer package manager.
Based on your requirement, you may use custom Deployment Script. You can use this approach to add any step to your Git-based deployment to App Service.
For more information, see Custom Deployment Script - https://github.com/projectkudu/kudu/wiki/Custom-Deployment-Script