• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

nginx directives plesk 12.0 does not work

laurent69

New Pleskian
Hello,

I tried nginx directives in plesk 12.0 and it does not work.
I tried to enable gzip with nginx.

To work here you must change nginx.conf:

nano /etc/nginx/nginx.conf

uncomment the first two lines and then add the 3rd line:
gzip on;
gzip_disable “MSIE [1-6]\.(?!.*SV1)”;
gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js;

Is this normal or is this a bug?
 
Last edited:
yes I changed the nginx.conf file
It works.

Purpose order plesk is to automate tasks. When I modify nginx directives that does not work I need to change the nginx.conf file

Why give the possibility to change the nginx directives if it does not work?
 
Back
Top