Welcome! Log In Create A New Profile

Advanced

Re: unknown directive "js_include"

Dmitry Volyntsev
April 12, 2018 10:24AM
On 12.04.2018 17:17, Dineshkumar wrote:
> 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.
>

Did you enabled the module in the nginx config?

http://nginx.org/en/docs/ngx_core_module.html#load_module

>
> Regards,
> Dinesh
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279415,279415#msg-279415
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

unknown directive "js_include"

Dineshkumar April 12, 2018 10:17AM

Re: unknown directive "js_include"

Dmitry Volyntsev April 12, 2018 10:24AM

Re: unknown directive "js_include"

Dineshkumar April 12, 2018 10:28AM

Re: unknown directive "js_include"

Dmitry Volyntsev April 12, 2018 10:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready