• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Brotli configuration in /etc/nginx/

Servus

Basic Pleskian
Hi,
I use Ubuntu 20 server (Ionos) with Plesk Obsidian 18.0.35 #1 with ngx_pagespeed and brotli and ONLY Nginx webhosting..
Today I discovered a double configuration in /etc/nginx/modules.available.d/brotli.load

Seemed for me that it looks like:

load_module nginx/modules/ngx_http_brotli_filter_module.so;
load_module nginx/modules/ngx_http_brotli_filter_module.so;

So I changed it to:

load_module nginx/modules/ngx_http_brotli_filter_module.so;
load_module nginx/modules/ngx_http_brotli_static_module.so;
nginx -t
...OK....
service nginx restart

Afterwards I wasn't sure if I first looked so close to say that both lines were exactly the same. I was unsure later if I did the right thing.
Question: Is my configuration correct this way? Perhaps somebody could look in his/her configuration and tell me if my configuration is correct or not.

Thanks for reading this thread!
 
Last edited:
hello @Servus ,
the correct content of /etc/nginx/modules.available.d/brotli.load should be
load_module nginx/modules/ngx_http_brotli_filter_module.so;
load_module nginx/modules/ngx_http_brotli_static_module.so;
I've checked it for 18.0.35.0, 18.0.35.1.
Can't say why there was ngx_http_brotli_filter_module twice in your config. So you've changed it in a right way.
 
Thanks a lot for help.
Not only that the entry was twice, also the two lines were in the middle of the page/file, not in the first line. The lines were in the centre of the whole page and they didn't started from the same point. It looked like a child wrote them!
Two possibilities: A program plucked them by error in the centre of the file? Or, someone who has no knowledge plugged them inside? Really in a way myterious.
 
Back
Top