Sallymelek Right. I had a look at this, and it seemed to be purely a case of the modules being in the wrong location. I copied these to the right places
However, when I executed
nginx -t I received the error message indicated. On checking, it’s because the build environment for the modules which you created does not match the installed version of NGINX
Based on this, I’ve commented out the modules in the
nginx.conf file and tested with
nginx -t - result below
Debugging this will be very invasive, and will require (probably) a replacement build of NGINX with the Brotli modules compiled to be created. As your forum is live, I strongly advise that you do not do this on the current droplet you have, but perhaps test it on a replica where if it does go wrong, it doesn’t matter because it can simply be discarded.
I want to play safe here 🙂 The advantages of Brotli speak for themselves, but the reward of having Brotli will never take preference over a site being functional or not.