but, why http://domainname.com -> redirect to http://www.domainname.com/ -> and work ? is this normal nginx behavior because the domain is not configured yet?
It's normal 🙂
server { listen 80; server_name domainname.com; [...] }Hi guys,
I'm trying to get the ssl working on my nodebb.
But I found a problem seems it has something to do with the https module inside nodebb itself. I guess.
Here is why:
When I type in https://127.0.0.1:4567, it won't open up anything.
I have tried http://127.0.0.1:4567 without "s" it opens up the nodebb site fine.
Can anyone tell me what could be the reason of this error?
Thanks.
You should use a reverse proxy for https.
@01 "it won't open" isn't very descriptive. What is it actually doing? Screenshots are very helpful to convey that info.
What is your nginx config? Where did you get your https certificates? Have you been following a guide, and if so, which one?