January 11, 2022 12:15AM
Before updating RPM packages
```
nginx-module-perl-1.20.2-1.el7.ngx.x86_64
nginx-1.20.2-1.el7.ngx.x86_64
nginx-module-xslt-1.20.2-1.el7.ngx.x86_64
nginx-filesystem-1.20.1-9.el7.noarch
nginx-module-njs-1.20.2+0.7.0-1.el7.ngx.x86_64
nginx-module-geoip-1.20.2-1.el7.ngx.x86_64
nginx-module-image-filter-1.20.2-1.el7.ngx.x86_64
```

After updating RPM packages
```
nginx-module-perl-1.20.2-1.el7.ngx.x86_64
nginx-1.20.2-1.el7.ngx.x86_64
nginx-module-xslt-1.20.2-1.el7.ngx.x86_64
nginx-filesystem-1.20.1-9.el7.noarch
nginx-module-geoip-1.20.2-1.el7.ngx.x86_64
nginx-module-njs-1.20.2+0.7.1-1.el7.ngx.x86_64
nginx-module-image-filter-1.20.2-1.el7.ngx.x86_64
```

After yum update is executed `nginx-module-njs` package was updated and now nginx throws `unknown directive "js_include"` although with the previous version (nginx-module-njs-1.20.2+0.7.0-1.el7.ngx.x86_64) it worked

Anyone knows why updating to `nginx-module-njs-1.20.2+0.7.1-1.el7.ngx.x86_64` from `nginx-module-njs-1.20.2+0.7.0-1.el7.ngx.x86_64` starts throwing that error. Is this a bug in official repo (http://nginx.org/packages/centos/$releasever/$basearch/) ?

CentOS Linux release 7.9.2009 (Core)
Subject Author Posted

unknown directive "js_include" after update to

remdex January 11, 2022 12:15AM

Re: unknown directive "js_include" after update to

remdex January 11, 2022 12:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 90
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready