Skip to content

Docker: using nginx-unprivileged as base results in expose arg changing and making Traefik not work out of the box #30016

Closed as not planned
@samip5

Description

@samip5

Steps to reproduce

  1. Deploy Traefik
  2. Deploy element-web
  3. See that Element Web returns bad gateway, and see in Traefik dashboard that it had picked 8080 port instead of 80.

Outcome

What did you expect?

I would have expected it to work out of the box

What happened instead?

I got an error for bad gateway

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

v1.11.10

Homeserver

No response

Will you send logs?

No

More information

By default, Traefik uses the first exposed port of a container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions