• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved nginx not gzip all static files?

Azurel

Silver Pleskian
Hello. I have this config in plesk 12.5 with "Serve static files directly by nginx" is enabled and gzipped included with https://kb.plesk.com/en/122628

I see that CSS files are gzipped, but not images and JS files. All comes from "server:nginx". Why are images and JS files not gezipped, but CSS files?

CSS files
Connection:keep-alive
Content-Encoding:gzip
Content-Type:text/css
Date:Tue, 08 Nov 2016 13:49:18 GMT
Last-Modified:Tue, 08 Nov 2016 12:28:59 GMT
Server:nginx
Transfer-Encoding:chunked
Vary:Accept-Encoding

JS files
Accept-Ranges:bytes
Connection:keep-alive
Content-Length:411548
Content-Type:application/javascript
Date:Tue, 08 Nov 2016 13:49:18 GMT
Last-Modified:Mon, 07 Nov 2016 19:11:46 GMT
Server:nginx

Solution

In KB 122628 there is used "application/x-javascript", thats wrong. The official standard is "application/javascript". After changed, javascript is now gezipped.
 
Last edited:
Back
Top