Skip to content

Commit f1d8fc1

Browse files
authored
Merge branch 'nginx:main' into patch-1
2 parents f6f8fda + ab35f01 commit f1d8fc1

29 files changed

+368
-1107
lines changed

source/CHANGES.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
Changes with Unit 1.34.2 26 Feb 2025
2+
3+
*) Security: fix missing websocket payload length validation in the Java
4+
language module which could lead to Java language module processes
5+
consuming excess CPU. (CVE-2025-1695).
6+
7+
*) Bugfix: fix incorrect websocket payload length calculation in the
8+
Java language module.
9+
10+
11+
Changes with Unit 1.34.1 10 Jan 2025
12+
13+
*) Bugfix: fix instability issues due to OpenTelemetry (OTEL) support.
14+
15+
*) Bugfix: fix issues with building OpenTelemetry (OTEL) support on
16+
various platforms, including macOS.
17+
118

219
Changes with Unit 1.34.0 19 Dec 2024
320

source/certificates.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ order them leaf to root.
3939

4040
Upload the resulting bundle file to Unit's certificate storage
4141
under a suitable name
42-
(in this case, **bundle**):
42+
(in this case, **bundle**), running the following command as root:
4343

4444
.. code-block:: console
4545
@@ -127,7 +127,7 @@ as **GET**-table JSON using **/certificates**:
127127

128128
Access array items,
129129
such as individual certificates in a chain,
130-
and their properties by indexing:
130+
and their properties by indexing, running the following commands as root:
131131

132132
.. code-block:: console
133133
@@ -196,7 +196,7 @@ the application is now accessible via SSL/TLS:
196196
197197
Finally, you can delete a certificate bundle
198198
that you don't need anymore
199-
from the storage:
199+
from the storage, running the following command as root:
200200

201201
.. code-block:: console
202202

source/community.rst

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,28 @@
88
Community
99
#########
1010

11-
************************
12-
Meetings and discussions
13-
************************
11+
**********************************
12+
Maintenance and support guidelines
13+
**********************************
1414

15-
We hold semi-regular meetings on Zoom
16-
to discuss all things related to Unit
17-
with our tightly knit and vibrant community.
15+
Going forward, NGINX Unit will no longer receive new features or
16+
enhancements from the project maintainers. NGINX Unit is still open to
17+
community contributions.
1818

19-
Recorded sessions:
19+
The team is focusing its limited capacity to keep NGINX Unit stable,
20+
secure and high-quality. Its focus will be on critical maintenance, such
21+
as for security issues, dependency upgrades, and resolving crashes or
22+
undefined behavior.
2023

21-
- `NGINX Unit Community Call No.1
22-
<https://www.youtube.com/watch?v=EZbcc6D03Io>`__
24+
************
25+
Discuss Unit
26+
************
27+
28+
The `Discussions section <https://github.com/nginx/unit/discussions>`_ of the
29+
Unit repo is the main place for discussing any topics related to the NGINX Unit project.
30+
31+
Here you can share your ideas, ask questions, and discuss any issues both about
32+
using Unit and contributing to Unit.
2333

2434
*************************
2535
Reporting bugs and issues
@@ -60,6 +70,10 @@ You can also ask questions and discuss your suggestions for Unit by:
6070
- Subscribing to the `[email protected] mailing list <https://mailman.nginx.org/mailman3/lists/unit.nginx.org/>`_
6171
and posting your ideas there.
6272

73+
*************
74+
Documentation
75+
*************
76+
6377
If you are interested in contributing to the **Unit documentation**,
6478
or find a typo or an error in the docs, you can submit a pull request on the
6579
`unit-docs repo <https://github.com/nginx/unit-docs/pulls>`_.

source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
project = 'NGINX Unit'
66
author = 'NGINX, Inc.'
77
copyright = '2017-2025'
8-
version = '1.34.0'
9-
release_date = 'Dec 19, 2024'
8+
version = '1.34.2'
9+
release_date = 'Feb 26, 2025'
1010
release = version
1111
needs_sphinx = '6.2'
1212

source/configuration/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
.. include:: ../include/replace.rst
66

7+
.. note::
8+
The commands in this document starting with a hash (#) must be run as root or
9+
with superuser privileges.
10+
711
#############
812
Configuration
913
#############

source/controlapi.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ may benefit from this
130130
Repeat these commands on the second machine
131131
to see where the target instance stores its state.
132132

133-
Stop both Unit instances, for example:
133+
Stop both Unit instances, for example, running the following command as root:
134134

135135
.. code-block:: console
136136
@@ -147,7 +147,7 @@ may benefit from this
147147
Copy the reference state directory to the target state directory
148148
by arbitrary means;
149149
make sure to include subdirectories and hidden files.
150-
Finally, restart both Unit instances:
150+
Finally, restart both Unit instances running the following command as root:
151151

152152
.. code-block:: console
153153
@@ -205,6 +205,10 @@ OpenAPI specification
205205
Quick start
206206
***********
207207

208+
209+
.. note::
210+
Run the `curl` commands in this section as root.
211+
208212
For a brief intro,
209213
we configure Unit to serve a static file.
210214
Suppose you saved this as **/www/data/index.html**:
@@ -264,7 +268,7 @@ To configure Unit,
264268
**PUT** this snippet to the **/config** section via the
265269
:ref:`control socket <source-startup>`.
266270
Working with JSON in the command line can be cumbersome;
267-
instead, save and upload it as **snippet.json**:
271+
instead, save and upload it as **snippet.json**.
268272

269273
.. code-block:: console
270274
@@ -362,7 +366,7 @@ connections are properly closed,
362366
processes end smoothly.
363367

364368
Any type of update can be done with different URIs,
365-
provided you supply the right JSON:
369+
provided you supply the right JSON. Run the following commands as root:
366370

367371
.. code-block:: console
368372
@@ -400,7 +404,7 @@ For instance, save your application object as **wiki.json**:
400404
"path": "/www/wiki/"
401405
}
402406
403-
Use it to set up an application called **wiki-prod**:
407+
Use it to set up an application called **wiki-prod**.
404408

405409
.. code-block:: console
406410

source/howto/apollo.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@ using Unit:
1010

1111
#. Install :ref:`Unit <installation-precomp-pkgs>` with the
1212
**unit-dev/unit-devel** package. Next, :ref:`install
13-
<installation-nodejs-package>` Unit's **unit-http** package:
13+
<installation-nodejs-package>` Unit's **unit-http** package. Run the following
14+
command as root:
1415

1516
.. code-block:: console
1617
1718
# npm install -g --unsafe-perm unit-http
1819
1920
#. Create your app directory, `install
2021
<https://expressjs.com/en/starter/installing.html>`_ |app|, and link
21-
**unit-http**:
22+
**unit-http**. Run the commands starting with a hash (#) as root:
2223

2324
.. code-block:: console
2425

source/howto/certbot.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ advisable to obtain certificates for your website from a certificate authority
99
<https://certbot.eff.org>`__ that issues free certificates signed by `Let's
1010
Encrypt <https://letsencrypt.org>`_, a non-profit CA.
1111

12+
.. note::
13+
The commands in this document starting with a hash (#) must be run as root or
14+
with superuser privileges.
15+
1216
***********************
1317
Generating Certificates
1418
***********************

source/howto/express.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ using Unit:
1010

1111
#. Install :ref:`Unit <installation-precomp-pkgs>` with the
1212
**unit-dev/unit-devel** package. Next, :ref:`install
13-
<installation-nodejs-package>` Unit's **unit-http** package:
13+
<installation-nodejs-package>` Unit's **unit-http** package. Run the following
14+
command as root:
1415

1516
.. code-block:: console
1617
@@ -32,6 +33,8 @@ using Unit:
3233
3334
$ npm install express --save
3435
36+
Run the following command as root:
37+
3538
.. code-block:: console
3639
3740
# npm link unit-http

source/howto/grafana.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ so we can :ref:`configure it <configuration-go>` to run on Unit.
134134
usually **$GOPATH/bin/**; it's used for the **executable** option in
135135
the Unit configuration.
136136

137-
#. Run the following commands so Unit can access |app|'s files:
137+
#. Run the following commands (as root) so Unit can access |app|'s files:
138138

139139
.. code-block:: console
140140

0 commit comments

Comments
 (0)