Skip to content

WEB_URL is not used #5

@dykstranet

Description

@dykstranet

Thanks for your work creating NextPay. Looking forward to using it. I just have a small snag.
Describe the problem/bug
I specified my public domain name in the WEB_URL variable in .env file. But this is what I get when I do yarn start

next start -p 3002
ready - started server on 0.0.0.0:3002, url: http://localhost:3002
info  - Loaded env from /home/server/NextPay/.env

I edited package.json's script.start to be next start -p 3002 because port 3000 is already used by ThunderHub.

Your environment

  • Version of NextPay: 0.1.0
  • Deployment method: yarn
  • Other relevant environment details: Ubuntu 20.04

Expected behavior
The url should have been https://my.domain.com. (I do a reverse proxy from my.domain.com to localhost port 3002.

Actual behavior
The url is http://localhost:3002`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions