force https



  • Hi,

    Is there a way to force or redirect to https inside the NodeBB software? I can see how it is done using the likes of NGINX but I am using an Amazon Load Balancer to handle reverse proxy but it doesn't have this feature.

    Thanks in advance

    Todd



  • @tango Interesting question 👏

    Need few information so that i can answer your Q !

    1. Are you using EC2 instance(s) for hosting NodeBB ?
    2. For managing nodebb process , what service are you using ?
    3. Are you using any application server ?
    4. For DNS are you using any amazon service ?
    5. Load balancer settings/configuration architecture ?


  • @hariom-vashisth said in force https:

    Are you using EC2 instance(s) for hosting NodeBB ?
    For managing nodebb process , what service are you using ?
    Are you using any application server ?
    For DNS are you using any amazon service ?
    Load balancer settings/configuration architecture ?

    Thanks for your message

    1. Yes
    2. Not sure what you mean be service.
    3. No
    4. No
    5. DNS has a cname record, to the load balancer URL, the load balancer just points to a single instance of EC2.

    I'm just playing with this awesom software at the moment & have a single instance with MongoDB & NodeBB on the same server. I like AWS load balancer over say NGINX for monitoring, auto scaling & alert features. Cloud formation won't work as it doesn't support sockets yet.

    Thank you



  • @tango said in force https:

    Amazon Load Balancer

    Lift your nodebb app with PM2 and serve it on 443 if possible btw on 80 it's possible , no other way to reverse proxing without application server.

    If you hosted everything on single EC2 instance then i personally recommend you to use Nginx along with PM2 and if you opt this option we have better answers.



  • @hariom-vashisth Thank you


Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.