Best of luck with the forum, @CatchThemAll! It's not released in Canada yet 😦
SSL Sample Nginx configuration
-
NodeBB versions v1.4.3 and above?
-
-
@PitaJ Normally it is not a problem. I'm having trouble scaling.
error.
nginx: [emerg] unexpected end of file, expecting “;” or “}” in filename:linenumber
Although there are no problems in the lines.
-
@yari if Nginx if saying there's an error in the config file then there's an error in your config file.
Paste it here and I'll tell you what's wrong. It's possible that there's a typo in our docs.
-
Yep, let us see the config and judge for ourselves
-
@PitaJ, @yari, I had hard time with this myself.
It turns out nginx may change the recommended setup from one version to another. Its best to follow:- Latest setup recommendations for security for your nginx version: https://mozilla.github.io/server-side-tls/ssl-config-generator/
- Remove exploits by adding into the nginx config file:
- HSTS header - it looks as though someone else (nodebb? nodejs?) is inserting this header, so don't include that header in nginx.
Check your site: go to: https://www.ssllabs.com/ssltest/ with the above you should get A+