问题描述
我最近在ubuntu 20.04上安装了带灯栈的virtualmin,但不知道如何部署laravel。 我想用git部署 主要问题是目录。 我想部署在 / home / fantasy / public_html / website 然后我的index.php将在 / home / fantasy / public_html / public 当我通过services> git repository创建git仓库时,在 /home/fantasy/public_html/git/fantasy-website.git 还指导如何更改其他Apache设置或任何其他参考 我已经成功地从本地计算机推送到服务器,但是接收后的文件无法正常工作。 可能是权限问题,并且不知道如何授予在public_html / website文件夹中写入的权限。 我通过从远程克隆到本地计算机进行测试并成功克隆。 我的接收后文件: #!/ bin / sh git --work-tree = / home / fantasy / public_html / website --git-dir = / home / fantasy / public_html / git / fantasy-website.git checkout -f
Response status code does not indicate success: 400 (Bad Request).
致谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)