Skip to content

Nginx config broken on "modern" systems #47

Description

@aleho

At least on Debian and Fedora (but I suspect on many others as well) the default configuration out of the box is resolving localhost to ::1 instead of 127.0.0.1.

This is the reason why nginx will error with

connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: my.cloud, request: "GET /push//test/mapping/1 HTTP/1.1", upstream: "http://[::1]:7867/test/mapping/1", host: "my.cloud"

when doing a self-test, because notify push will expect IPv4 (in the setup example).

I suggest being explicit about the host in the example, by replacing localhost with 127.0.0.1.

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