unknown directive "js_include"

Dineshkumar nginx-forum at forum.nginx.org
Thu Apr 12 14:17:26 UTC 2018


Hi All,

Im getting the following error when using nginscript module in RHEL 5
server.
nginx: [emerg] unknown directive "js_include" in /etc/nginx/nginx.conf:13

Installed the nginx using the following RPM
https://nginx.org/packages/rhel/5/x86_64/RPMS/nginx-1.10.0-1.el5.ngx.x86_64.rpm

Installed the nginx-module-njs module using the following RPM
https://nginx.org/packages/rhel/5/x86_64/RPMS/nginx-module-njs-1.10.0.0.0.20160414.1c50334fbea6-1.el5.ngx.x86_64.rpm

Please let me know if there are any alternatives to mitigate this issue.


Regards,
Dinesh

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279415,279415#msg-279415



More information about the nginx mailing list