Opened 9 years ago

Closed 7 years ago

#705 closed enhancement (fixed)

Native JavaScript support

Reported by: launchpad.net/~brylie Owned by:
Priority: minor Milestone:
Component: other Version: 1.7.x
Keywords: Cc:
uname -a:
nginx -V: futire

Description

I just read an Infoworld article, where it was mentioned that Nginx plans rich support for JavaScript:

We're planning JavaScript configurations, using JavaScript in [an] Nginx configuration. We plan to be more efficient on these [configurations], and we plan to develop a flexible application platform. You can use JavaScript snippets inside configurations to allow more flexible handling of requests, to filter responses, to modify responses. Also, eventually, JavaScript can be used as [an] application language for Nginx.

What are the plans for and progress towards JavaScript support?

Change History (3)

comment:1 by Nginxuser, 9 years ago

Very bad idea IMO. Nginx already has a mature scripting language with a massive user base called Lua but it appears the developers are hell bent on ignoring this and they are heading off chasing after this Javascript fad to be in with the cool node.js kids.

Please support Lua instead and build up on what is there rather than just following the herd.

comment:3 by maxim, 7 years ago

Component: nginx-coreother
Resolution: fixed
Status: newclosed

Hello.

Please check njs project documentation:

http://nginx.org/en/docs/njs_about.html

This is work in progress though.

Note: See TracTickets for help on using tickets.