@gotwf I'm not sure it's been weeks ago I wrote this. 😄
Maybe I did not find this or something didn't work for me. I can't tell you...
Greets
Nginx has many possibilities for optimizing nodebb. In this post, I invite you to share the most interesting practices for optimizing our community.
For an automatic transition from www to no www, this code works well
if ( $host ~ ^www.(?<domain>.+) ) {
rewrite ^/(.*)$ $scheme://$domain/$1;
Express.js does not support http/2. Or am I wrong? Does it make sense to include http/2 support in nginx?