Email link redirects to ip:port

Technical Support

Suggested Topics


  • Values to add to email templates

    Unsolved Technical Support
    2
    0 Votes
    2 Posts
    116 Views

    @mattdjuk You can do a search for the string emailer.send( in src/ to see every invocation of the emailer.

    From the first argument passed in, you can see which template it attempts to use, and the third argument shows the template data passed in.

    e.g.

    await emailer.send('notification', uid, { path: notification.path, notification_url: notification.path.startsWith('http') ? notification.path : nconf.get('url') + notification.path, subject: utils.stripHTMLTags(notification.subject || '[[notifications:new_notification]]'), intro: utils.stripHTMLTags(notification.bodyShort), body: body, notification: notification, showUnsubscribe: true, })
  • 0 Votes
    8 Posts
    1k Views

    @alanbrown it has to be one of the existing params. Looks like it's the interval field.

  • redirection problem with ssl

    Solved Technical Support
    4
    0 Votes
    4 Posts
    2k Views

    Fixed by adding

    if ($host = www.$server_name) {
    rewrite ^(.*) https://$server_name$request_uri? permanent;
    }

    after

    proxy_set_header Connection "upgrade";
    }

    line.

  • Send Email Locally

    Technical Support
    4
    0 Votes
    4 Posts
    2k Views

    Thanks, guys! I got it to work.

  • 0 Votes
    7 Posts
    2k Views

    If you want, feel free to share the config above - works with redis - not mongo - which is fine with me bc I prefer redis all day anyhow. it's 30 times quicker and smarter in my limited experience with mongo - you know it picked up the data i already had in mongo and I didn't even do anything :-). This could have been the forever logs - but I have no idea - node is new to me - but i'm starting to really like it.

    Would you happen to have your upstart script that you use to keep your forums going on reboot? Or method that you use? Like specific - that will be the icing on the cake for me.