Skip to content

File backend doesn't work with local host url #3248

@poVoq

Description

@poVoq

Do you want to request a feature or report a bug?

Bug

What did you do?

Install Traefik 1.6rc6 trough the dockerhub provided image. The configure a file-backend for the BOSH etc. web url of my ejabberd server running on the host system besides some docker images.

What did you expect to see?

Reverse proxying requests to a internal port 5280 through the file backend via "localhost:5280" or "127.0.0.1:5280" without opening the port 5280 in my firewall.

What did you see instead?

url "localhost:5280" or "127.0.0.1:5280" (with or without open port) result in a 502 bad gateway server response, while directly accessing the ejabberd through an open port works and also putting the actual IP of the server in the file backend and keeping the port open works as well.

Output of traefik version: (What version of Traefik are you using?)

1.6rc6 Docker image from dockerhub

Thanks for the help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions