且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何设置虚拟应用程序和目录;适用于基于Linux的Web应用程序?

更新时间:2021-09-29 03:12:41

The Azure portal shows only features that currently work for Web App for Containers. As we enable more features, they will become visible on the portal.

 至 重写所有请求以指向/public 而不是根目录.在存储库根目录中, .htaccess   is 为此已添加.如果您不想使用.htaccess  重写,则可以部署您的具有 自定义的Laravel应用程序 而不是Docker映像 .请参考 文档以获取有关此主题的更多详细信息.

You can use .htaccess to rewrite all requests to point to /public instead of the root directory. In the repository root, an .htaccess is added already for this purpose. If you would rather not use .htaccess rewrite, you can deploy your Laravel application with a custom Docker image instead. Refer this document for more details on this topic.

SCM_REPOSITORY_PATH和SCM_TARGET_PATH ' 代表 存储库路径"和分别指示要部署到的文件夹",有关此设置的更多详细信息,请参考此 文档.

SCM_REPOSITORY_PATH and SCM_TARGET_PATH 'represents the repository path' and 'indicates which folder to deploy to' respectively, for more details on this settings kindly refer to this document.

PS:用于解决在MSDN论坛上发布图像的问题, 你 可以随着时间的流逝手动地进行验证,方法是发布并等待或 请参阅博客 进行验证.

P.S: For fixing issues on posting images on the MSDN forum, you can manually verify it over time, by posting and waiting or kindly refer the blog How to Verify Your MSDN/TechNet Forums Account So that You Can Post Images and Links to perform the verification.