Skip to content

Commit 759f953

Browse files
JTorreGdanielledeleo
authored andcommitted
fix: njs should be lowercase
1 parent de59cc5 commit 759f953

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

source/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5627,7 +5627,7 @@ recorded. The **if** option supports a string and JavaScript code.
56275627
If its value is empty, 0, false, null, or undefined, the logs will not be
56285628
recorded. And the '!' as a prefix inverses the condition.
56295629
5630-
Example without NJS:
5630+
Example without njs:
56315631
56325632
.. code-block:: json
56335633
@@ -5653,7 +5653,7 @@ We can add ! to inverse the condition.
56535653
56545654
Now, all requests without a session cookie will be logged.
56555655
5656-
Example with NJS and the use of a template literal:
5656+
Example with njs and the use of a template literal:
56575657
56585658
.. code-block:: json
56595659

source/news/2023/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ News archive for the year 2023.
5353

5454
.. nxt_news_entry::
5555
:author: Unit Team
56-
:description: Version 1.30.0 adds URI rewrites, expands NJS integration and
56+
:description: Version 1.30.0 adds URI rewrites, expands njs integration and
5757
logging capabilities, and introduces an OpenAPI specification.
5858
:email: unit-owner@nginx.org
5959
:title: Unit 1.30.0 Released
@@ -63,7 +63,7 @@ News archive for the year 2023.
6363
.. nxt_news_entry::
6464
:author: Unit Team
6565
:description: Version 1.29.1 addresses assorted bugs in PHP and Python app
66-
handling, NJS integration, and WebSockets.
66+
handling, njs integration, and WebSockets.
6767
:email: unit-owner@nginx.org
6868
:title: Unit 1.29.1 Released
6969
:date: 2023-02-28

source/news/2024/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ News archive for the year 2024.
66

77
.. nxt_news_entry::
88
:author: Unit Team
9-
:description: Version 1.32.1 is a maintenance release that fixes bugs in the new WebAssembly Language Module and in our NJS implementation.
9+
:description: Version 1.32.1 is a maintenance release that fixes bugs in the new WebAssembly Language Module and in our njs implementation.
1010
:email: unit-owner@nginx.org
1111
:title: Unit 1.32.1 Released
1212
:url: news/2024/unit-1.32.1-released
@@ -20,9 +20,9 @@ News archive for the year 2024.
2020
:title: Wasm Components: Working with the Spin SDK for Rust
2121
:url: news/2024/fermyon-spin-rust-sdk
2222
:date: 2024-03-13
23-
23+
2424
.. nxt_news_entry::
25-
:author: Timo Stark
25+
:author: Timo Stark
2626
:description: Part 2 of our Wasm Component Model blog series. In this Blog post you will learn
2727
how to build a Rust based Wasm Component and run it on NGINX Unit.
2828
:email: unit-owner@nginx.org

source/news/2024/unit-1.32.0-released.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ the old **unit-wasm** module deprecated now.
1515

1616
Additionally, we have added the following features:
1717

18-
- Enhanced the :doc:`NJS (NGINX JavaScript) experience <../../scripting>` by making all Unit variables
18+
- Enhanced the :doc:`njs (NGINX JavaScript) experience <../../scripting>` by making all Unit variables
1919
accessible from JavaScript
2020

2121
- Added support for

source/news/2024/unit-1.32.1-released.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Unit 1.32.1 Released
55
####################
66

7-
NGINX Unit 1.32.1 is a maintenance release that fixes bugs in the new WebAssembly Language Module and in our NJS implementation.
7+
NGINX Unit 1.32.1 is a maintenance release that fixes bugs in the new WebAssembly Language Module and in our njs implementation.
88

99
===============
1010
Resolved issues
@@ -27,7 +27,7 @@ As restarts will work independently of the application type, the behavior shippe
2727
Unit-variables in NGINX JavaScript are constantly cached
2828
************************************************************
2929

30-
In **1.32.0** we added the possibility to access all Unit variables form inside NJS.
30+
In **1.32.0** we added the possibility to access all Unit variables form inside njs.
3131

3232
As reported in GitHub issue `#1169 <https://github.com/nginx/unit/issues/1169>`__ the variables were cached and would hold the wrong value, which is not how this feature should work. With version 1.32.1, we have fixed this issue.
3333

0 commit comments

Comments
 (0)