Best practices for configuring nginx to optimize nodebb


  • 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?

Suggested Topics

  • 80
  • 12
  • 9
  • 15
  • 1
| |