【问题标题】:New website created in VVV doesn't appear在 VVV 中创建的新网站不显示
【发布时间】:2017-05-27 17:20:07
【问题描述】:

使用vv create创建的新网站,没有出现在主机中,创建后找不到。

我在 vvv 中创建了很多网站,但是 vagrant-hostsupdater 只能从 vvv 中找到默认站点。而且,我在更新到 vvv 2.0 后遇到了这个问题。

有人知道如何解决这个问题吗? 如何让我的网站 - aluxh.dev 在 nginx 中找到?

==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 vvv
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 vvv.dev
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 local.wordpress.dev
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 src.wordpress-develop.dev
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 build.wordpress-develop.dev

此外,当我进行配置时,它也停止提示我输入密码。我不明白为什么。

【问题讨论】:

    标签: php wordpress nginx vagrant vvv-wordpress


    【解决方案1】:

    我做了进一步的故障排除,并通过添加发现:

    vvvtest:
      hosts:
        - vvvtest.com
    

    进入vvv-custom.yml,vagrant-hostsupdater 将能够找到我的条目并开始进行映射。

    任何人都知道如何在vv -c 之后自动完成对vvv-custom.yml 的网站添加?

    【讨论】:

    • 我一直这样做的方式是按照您的描述将站点添加到 vvv-custom.yml 然后执行vagrant reload --provision。我不知道vv -c - 从未使用过该命令
    猜你喜欢
    • 2016-04-14
    • 2013-03-17
    • 2010-11-03
    • 2021-10-26
    • 2021-12-17
    • 2010-12-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多