Skip to content

[Bug]: Hostname of request object is always 'localhost' #6059

Closed
@monolithed

Description

@monolithed

Error Message and Logs

There’s already a similar issue, but I didn’t quite understand how the discussion ended.

In my view, in production, request.nextUrl.origin and request.url should return the public hostname, not localhost:3000.

How can I set this correctly, and why is it returning localhost right now?

Coolify Version

v4.0.0-beta.419

Are you using Coolify Cloud?

No (self-hosted)

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