Open jv2002 opened 4 years ago
this is what being displayed in /var/log/nginx/error.log "/usr/share/nginx/html/static/XXXWeb/themes/modernblue/css/XXXtheme.css" failed (2: No such file or directory), client: 172.30.79.182, server: host.xxx.com, request: "GET /XXXWeb/themes/modernblue/css/XXXtheme.css HTTP/2.0", host: "host.xxx.com", referrer: "https://host.xxx.com/XXXWeb/rest/ui/selectpi"
However the same path works with gzip setup.
OS= Red Hat Enterprise Linux VERSION="8.1 (Ootpa) nginx version: nginx/1.17.9 brotli 1.0.6
Above combination is having a bug when Brotli is trying to access /usr/share/nginx/html/xxxstatic folder. It is not able to access and thus gives 404 error on browser for loading js and css files. However, if I use gzip, it can easily access /usr/share/nginx/html/xxxstatic and works well.