这是indexloc提供的服务,不要输入任何密码
Skip to content

Wrong ip in generated nginx.conf after adding a domain #870

@vincentfretin

Description

@vincentfretin

Hi,
I use a fresh install of dokku master post v0.3.12, 2015-01-05 19:58 566cc15

cd myapp
git remote add deploy dokku@wholphin:myapp
git push deploy master

myapp.example.com is accessible, the generated nginx.conf contains
upstream myapp { server 172.17.0.52:5000; }
all good.

Now if I add a domain
ssh dokku@wholphin domains:add myapp wwww.myapp.example.com
The application is inaccessible because I have this in the generated nginx.conf:
upstream myapp { server 127.0.0.1:5000; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions