Stuck with http->https redirect

Hey guys,

I am stuck with the global redirect from http->https and I tried different variations of the config and nothing helped. If I have the redirect active and I do a curl -I on any host, even ones that doesn't exist I receive a 502 bad gateway. When I remove them I receive the expected 404.

Running on v3.5

      - --entrypoints.web.address=:http
      - --entrypoints.web.http.redirections.entrypoint.to=websecure
      - --entryPoints.web.http.redirections.entrypoint.scheme=https
      - --entryPoints.web.http.redirections.entrypoint.priority=1000
      - --entrypoints.websecure.address=:https
      - --entrypoints.websecure.asDefault=true

I have no idea what I can check and try to fix this...

smh... changing the ports from symbol to the actual port did the thing.

  - --entrypoints.web.address=:80 # from http
  - --entrypoints.websecure.address=:443 # from https

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.