Skip to content

[DEFECT] Gateway drops a non-443 port on redirects #74

Done

Description

@mjd948

docker/gateway/default.conf forwards Host $host. With oscar.sh init --port other than 443,
the backend's trailing-slash redirects (/event-log → https://host/event-log/) lose the port, so
every viewer route but / fails. The port-80 → HTTPS redirect drops it too.
Suggested fix: proxy_set_header Host $http_host; (and keep the port in the 80 → 443 redirect).

Activity

  1. added
    roadmap:planned-v3.12
    on Nov 24, 2026
  2. tyronechrisharris commented on Nov 27, 2026

    @tyronechrisharris
    Collaborator

    Resolved in merged PR #88 (e6b97b537) for OSCAR v3.12.0 (Nginx gateway port-80 redirects now preserve non-443 OSCAR_HTTPS_PORT).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    roadmap:planned-v3.12

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions