• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

[Solved] Email Confirmation Link Problem

Scheduled Pinned Locked Moved General Discussion
nodebb
5 Posts 3 Posters 2.1k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GeoStyx
    wrote on last edited by GeoStyx
    #1

    ##Hello all,

    So here's my issue: I have nodebb proxy'd behind so that I can use HTTPS.

    Now the issue is, confirmation links look like this:
    https://example.com/:4567/confirm/9bd6b76e-284f-46f5-b9c8-2d958b5961dc

    The problem: HTTPS is running on port 443. So the link goes to a 404 page.

    Is it possible to change the port in the confirmation link?

    ###Thanks in advance.

    EDIT: I set "use_port" to false in config.json and it works fine now.

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #2

    Can you post the base_url and use_port properties in your config.json?

    G 1 Reply Last reply
    0
  • G Offline
    G Offline
    GeoStyx
    replied to julian on last edited by GeoStyx
    #3

    @julian After a few days of trying to figure this out, I fixed it 5 minutes after posting this (go figure.)

    I changed "use_port": true to "use_port": false

    "base_url": "https://mydomain.com"

    Thank you for your time!

    B 1 Reply Last reply
    1
  • B Offline
    B Offline
    buynsellcloudcom
    replied to GeoStyx on last edited by
    #4

    @GeoStyx hi where do you add the changed "use_port": true to "use_port": false

    {
        "url": "http://localhost:4567",
        "secret": "xxxxxxxxxxxxxxxx",
        "database": "redis",
        "redis": {
            "host": "127.0.0.1",
            "port": "6379",
            "password": "",
            "database": "0"
        }
    }
    
    

    thanks

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #5

    use_port is no longer used, just don't put the port number in the url field and set up a reverse proxy (https://docs.nodebb.org/configuring/proxies/nginx/)

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development