From aaba6fdcc923fd4816eb450a4863740b743e86e2 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Fri, 16 Dec 2022 12:42:53 +0000 Subject: Version bump. --- docs/changes.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index e569f474..c031f2ab 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -5,6 +5,35 @@ + + + + +NGINX Unit updated to 1.30.0. + + + + + + + + + + + + + + +Initial release of Python 3.11 module for NGINX Unit. + + + + + + -- cgit From 141deec353c546674719d2bffe2fadeb174c4415 Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Tue, 17 Jan 2023 10:37:45 +0800 Subject: NJS: added the keys API for the request objects. This commit is to loop through the request objects headers, arguments, and cookies. --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index 262b4a7a..414f8672 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -32,6 +32,12 @@ NGINX Unit updated to 1.30.0. date="" time="" packager="Nginx Packaging <nginx-packaging@f5.com>"> + + +support the keys API on the request objects in NJS. + + + framework. > > * The FreeBSD ports framework was started by Jordan Hubbard in 1993. > * The ports framework was ported from FreeBSD to OpenBSD > by Niklas Hallqvist in 1996. > * NetBSD pkgsrc was forked from FreeBSD ports by Alistair G. Crooks > and Hubert Feyrer in 1997. > > I failed to quickly find Jordan's original version, but rev. 1.1 > of /usr/ports/infrastructure/mk/bsd.port.mk in OpenBSD (dated Jun 3 > 22:47:10 1996 UTC) already said > > LOCALBASE ?= /usr/local > PREFIX ?= ${LOCALBASE} > [...] >> I had a discussion in NGINX Unit about it, and >> the decission for now has been: "support prefix=/usr/local for default >> manual installation through the Makefile, and let BSD users adjust to >> their preferred path". > > That's an *excellent* solution for the task, thanks for doing it > the right way. By setting PREFIX=/usr/local by default in the > upstream Makefile, you are minimizing the work for *BSD porters. > > The BSD ports frameworks will typically run the upstreak "make install" > with the variable DESTDIR set to a custom value, for example > > DESTDIR=/usr/ports/pobj/groff-1.23.0/fake-amd64 > > so if the upstream Makefile sets PREFIX=/usr/local , > that's perfect, everything gets installed to the right place > without an intervention by the person doing the porting. > > Of course, if the upstream Makefile would use some other PREFIX, > that would not be a huge obstacle. All we have to do in that case > is pass the option --prefix=/usr/local to the ./configure script, > or something equivalent if the software isn't using GNU configure. > >> We were concerned that we might get collisions >> with the BSD port also installing in /usr/local, but that's the least >> evil (and considering BSD users don't typically run `make install`, it's >> not so bad). > > It's not bad at all. It's perfect. > > Of course, if a user wants to install *without* the ports framework, > they have to provide their own --prefix. But that's not an issue > because it is easy to do, and installing without a port is discouraged > anyway. === Directory variables should never contain a trailing slash (I've learned that the hard way, where some things would break unexpectedly). Especially, make(1) is likely to have problems when things have double slashes or a trailing slash, since it treats filenames as text strings. I've removed the trailing slash from the prefix, and added it to the derivate variables just after the prefix. pkg-config(1) also expects directory variables to have no trailing slash. === I also removed the code that would set variables as depending on the prefix if they didn't start with a slash, because that is a rather non-obvious behavior, and things should not always depend on prefix, but other dirs such as $(runstatedir), so if we keep a similar behavior it would be very unreliable. Better keep variables intact if set, or use the default if unset. === Print the real defaults for ./configure --help, rather than the actual values. === I used a subdirectory under the standard /var/lib for NXT_STATE, instead of a homemade "state" dir that does the same thing. === Modified the Makefile to create some dirs that weren't being created, and also remove those that weren't being removed in uninstall, probably because someone forgot to add them. === Add new options for setting the new variables, and rename some to be consistent with the standard names. Keep the old ones at configuration time for compatibility, but mark them as deprecated. Don't keep the old ones at exec time. === A summary of the default config is: Unit configuration summary: bin directory: ............. "/usr/local/bin" sbin directory: ............ "/usr/local/sbin" lib directory: ............. "/usr/local/lib" include directory: ......... "/usr/local/include" man pages directory: ....... "/usr/local/share/man" modules directory: ......... "/usr/local/lib/unit/modules" state directory: ........... "/usr/local/var/lib/unit" tmp directory: ............. "/tmp" pid file: .................. "/usr/local/var/run/unit/unit.pid" log file: .................. "/usr/local/var/log/unit/unit.log" control API socket: ........ "unix:/usr/local/var/run/unit/control.unit.sock" Link: Link: Reviewed-by: Artem Konev Reviewed-by: Andrew Clayton Tested-by: Andrew Clayton Reviewed-by: Konstantin Pavlov Signed-off-by: Alejandro Colomar --- docs/changes.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index 414f8672..569e49e5 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -38,6 +38,13 @@ support the keys API on the request objects in NJS. + + +added default values for 'make install' pathnames such as prefix; +this allows to do './configure && make && sudo make install'. + + + + +fix the memory leak related to njs. + + + -fix the memory leak related to njs. +stop creating world-writeable directories. + + + + + +memory leak related to NJS. + + + + + +path parsing in PHP applications. + + + + + +enabled UTF-8 for Python config by default to avoid applications failing +in some cases. + + + + + +using asyncio.get_running_loop() instead of asyncio.get_event_loop() +when it's available to prevent errors in some Python ASGI applications. + + + + + +applications that make use of various low level APIs such as pthreads could +fail to work correctly. + + + + + +PHP error handling (added missing 403 and 404 errors). + + + + + +websocket endianness detection for obscure operating systems. -- cgit From 0ebce31c9287cb97b626d61b62e83681b2864fe8 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Thu, 26 Jan 2023 15:07:12 +0100 Subject: HTTP: added route logging. - Configuration: added "/config/settings/http/log_route". Type: bool Default: false This adds configurability to the error log. It allows enabling and disabling logs related to how the router performs selection of the routes. - HTTP: logging request line. Log level: [notice] The request line is essential to understand which logs correspond to which request when reading the logs. - HTTP: logging route that's been discarded. Log level: [info] - HTTP: logging route whose action is selected. Log level: [notice] - HTTP: logging when "fallback" action is taken. Log level: [notice] Closes: Link: Link: Suggested-by: Timo Stark Suggested-by: Mark L Wood-Patrick Suggested-by: Liam Crilly Tested-by: Liam Crilly Acked-by: Artem Konev Cc: Andrew Clayton Cc: Andrei Zeliankou Reviewed-by: Zhidao Hong Signed-off-by: Alejandro Colomar --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index fa60a965..740a51a5 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -32,6 +32,12 @@ NGINX Unit updated to 1.30.0. date="" time="" packager="Nginx Packaging <nginx-packaging@f5.com>"> + + +added conditional logging of route selection for HTTP requests. + + + support the keys API on the request objects in NJS. -- cgit From 1266eda80c2f3b67d50b13d88d1ea51729eab772 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Mon, 24 Apr 2023 17:59:34 +0200 Subject: Docs: moved uintd.8 to man8/ subdirectory. Reviewed-by: Artem Konev Signed-off-by: Alejandro Colomar --- docs/man/man8/unitd.8.in | 80 ++++++++++++++++++++++++++++++++++++++++++++++++ docs/man/unitd.8.in | 80 ------------------------------------------------ 2 files changed, 80 insertions(+), 80 deletions(-) create mode 100644 docs/man/man8/unitd.8.in delete mode 100644 docs/man/unitd.8.in (limited to 'docs') diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in new file mode 100644 index 00000000..46182781 --- /dev/null +++ b/docs/man/man8/unitd.8.in @@ -0,0 +1,80 @@ +.\" (C) 2017-2021, NGINX, Inc. +.\" +.Dd March 16, 2021 +.Dt UNITD 8 +.Os +.Sh NAME +.Nm unitd +.Nd "runs the NGINX Unit daemon" +.Sh SYNOPSIS +.Nm +.Op Fl Fl no-daemon +.Op Fl Fl control Ar socket +.Op Fl Fl group Ar name +.Op Fl Fl user Ar name +.Op Fl Fl log Ar file +.Op Fl Fl modules Ar directory +.Op Fl Fl pid Ar file +.Op Fl Fl state Ar directory +.Nm +.Op Fl h | Fl Fl help | v | Fl Fl version +.Sh DESCRIPTION +NGINX Unit is a polyglot app server, a reverse proxy, and a static file server +for UNIX-like systems. +It was built by +.Xr nginx 8 +team members from +scratch to be highly efficient and fully configurable at runtime. +.Sh OPTIONS +.Bl -tag -width indent +.It Fl h , Fl Fl help +Displays a summary of Unit's command-line options and their +compile-time defaults. +.It Fl v , Fl Fl version +Displays Unit's version and the +.Pa ./configure +settings it was built with. +.It Fl Fl no-daemon +Runs Unit in non-daemon mode. +.It Fl Fl control Ar socket +Overrides the control API's socket address in IPv4, IPv6, +or UNIX-domain format. +.It Fl Fl group Ar name , Fl Fl user Ar name +Override group name and user name used to run Unit's non-privileged processes. +.It Fl Fl log Ar file +Overrides the pathname for Unit's log. +.It Fl Fl modules Ar directory +Overrides the directory path for Unit's language modules +.Po Pa *.unit.so +.Pc files . +.It Fl Fl pid Ar file +Overrides the pathname for the PID file of Unit's main process. +.It Fl Fl state Ar directory +Overrides the directory path for Unit's state storage. +.El +.Sh EXIT STATUS +Exit status is 0 on success, or 1 if the daemon encounters an error. +.Sh FILES +.Bl -tag -width indent +.It Pa %%PID_PATH%% +The PID file of Unit's main process. +.It Pa %%ERROR_LOG_PATH%% +A general-purpose log for diagnostics and troubleshooting. +.El +.Sh SOCKETS +.Bl -tag -width indent +.It Pa %%SOCKET_PATH%% +The socket address of Unit's control API. +.El +.Sh AUTHORS +(C) 2017-2021, NGINX, Inc. +.Sh SEE ALSO +.Pp +Website: +.Pa https://unit.nginx.org +.Pp +User mailing list: +.Pa https://mailman.nginx.org/mailman/listinfo/unit +.Pp +GitHub: +.Pa https://github.com/nginx/unit diff --git a/docs/man/unitd.8.in b/docs/man/unitd.8.in deleted file mode 100644 index 46182781..00000000 --- a/docs/man/unitd.8.in +++ /dev/null @@ -1,80 +0,0 @@ -.\" (C) 2017-2021, NGINX, Inc. -.\" -.Dd March 16, 2021 -.Dt UNITD 8 -.Os -.Sh NAME -.Nm unitd -.Nd "runs the NGINX Unit daemon" -.Sh SYNOPSIS -.Nm -.Op Fl Fl no-daemon -.Op Fl Fl control Ar socket -.Op Fl Fl group Ar name -.Op Fl Fl user Ar name -.Op Fl Fl log Ar file -.Op Fl Fl modules Ar directory -.Op Fl Fl pid Ar file -.Op Fl Fl state Ar directory -.Nm -.Op Fl h | Fl Fl help | v | Fl Fl version -.Sh DESCRIPTION -NGINX Unit is a polyglot app server, a reverse proxy, and a static file server -for UNIX-like systems. -It was built by -.Xr nginx 8 -team members from -scratch to be highly efficient and fully configurable at runtime. -.Sh OPTIONS -.Bl -tag -width indent -.It Fl h , Fl Fl help -Displays a summary of Unit's command-line options and their -compile-time defaults. -.It Fl v , Fl Fl version -Displays Unit's version and the -.Pa ./configure -settings it was built with. -.It Fl Fl no-daemon -Runs Unit in non-daemon mode. -.It Fl Fl control Ar socket -Overrides the control API's socket address in IPv4, IPv6, -or UNIX-domain format. -.It Fl Fl group Ar name , Fl Fl user Ar name -Override group name and user name used to run Unit's non-privileged processes. -.It Fl Fl log Ar file -Overrides the pathname for Unit's log. -.It Fl Fl modules Ar directory -Overrides the directory path for Unit's language modules -.Po Pa *.unit.so -.Pc files . -.It Fl Fl pid Ar file -Overrides the pathname for the PID file of Unit's main process. -.It Fl Fl state Ar directory -Overrides the directory path for Unit's state storage. -.El -.Sh EXIT STATUS -Exit status is 0 on success, or 1 if the daemon encounters an error. -.Sh FILES -.Bl -tag -width indent -.It Pa %%PID_PATH%% -The PID file of Unit's main process. -.It Pa %%ERROR_LOG_PATH%% -A general-purpose log for diagnostics and troubleshooting. -.El -.Sh SOCKETS -.Bl -tag -width indent -.It Pa %%SOCKET_PATH%% -The socket address of Unit's control API. -.El -.Sh AUTHORS -(C) 2017-2021, NGINX, Inc. -.Sh SEE ALSO -.Pp -Website: -.Pa https://unit.nginx.org -.Pp -User mailing list: -.Pa https://mailman.nginx.org/mailman/listinfo/unit -.Pp -GitHub: -.Pa https://github.com/nginx/unit -- cgit From 147ee8abd650c373cb1022dad2a9a0b8522aea8b Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Wed, 26 Apr 2023 15:02:09 +0200 Subject: Docs: removed '-v' from unitd.8. This short option is not really supported. Probably it was just a typo. Reviewed-by: Artem Konev Signed-off-by: Alejandro Colomar --- docs/man/man8/unitd.8.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in index 46182781..d3c662d1 100644 --- a/docs/man/man8/unitd.8.in +++ b/docs/man/man8/unitd.8.in @@ -17,7 +17,7 @@ .Op Fl Fl pid Ar file .Op Fl Fl state Ar directory .Nm -.Op Fl h | Fl Fl help | v | Fl Fl version +.Op Fl h | Fl Fl help | Fl Fl version .Sh DESCRIPTION NGINX Unit is a polyglot app server, a reverse proxy, and a static file server for UNIX-like systems. @@ -30,7 +30,7 @@ scratch to be highly efficient and fully configurable at runtime. .It Fl h , Fl Fl help Displays a summary of Unit's command-line options and their compile-time defaults. -.It Fl v , Fl Fl version +.It Fl Fl version Displays Unit's version and the .Pa ./configure settings it was built with. -- cgit From 7fdd5b035f3b22f1424115c9b31ad675ee1619aa Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Wed, 26 Apr 2023 15:29:00 +0200 Subject: Docs: not using shouty caps in unitd.8. There was a recent unanimous agreement by maintainers of groff, mandoc, the Linux man-pages, and other relevant programmers, that manual pages should not use uppercase unnecessarily. Use of uppercase in the title and in the section's titles dates from before one could use bold, italics, and other such formatting, so that it was the way of giving more importance to certain parts of a page. Nowadays, we use bold, so uppercase is unnecessary. Moreover, using uppercase in the title is bad, since it removes information. If we keep the exact casing used in the program (or function) name, we provide more information. And anyway, if users want to read in uppercase, they can program certain mdoc(7) or man(7) macros to transform their arguments into uppercase. This could be done via and . There's a plan of transforming OpenBSD pages and the Linux man-pages to stop using uppercase. Other projects may join. That will likely happen in the following months. Let's align with this. Reviewed-by: Artem Konev Signed-off-by: Alejandro Colomar --- docs/man/man8/unitd.8.in | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in index d3c662d1..88e91d5a 100644 --- a/docs/man/man8/unitd.8.in +++ b/docs/man/man8/unitd.8.in @@ -1,12 +1,12 @@ .\" (C) 2017-2021, NGINX, Inc. .\" .Dd March 16, 2021 -.Dt UNITD 8 +.Dt unitd 8 .Os -.Sh NAME +.Sh Name .Nm unitd .Nd "runs the NGINX Unit daemon" -.Sh SYNOPSIS +.Sh Synopsis .Nm .Op Fl Fl no-daemon .Op Fl Fl control Ar socket @@ -18,14 +18,14 @@ .Op Fl Fl state Ar directory .Nm .Op Fl h | Fl Fl help | Fl Fl version -.Sh DESCRIPTION +.Sh Description NGINX Unit is a polyglot app server, a reverse proxy, and a static file server for UNIX-like systems. It was built by .Xr nginx 8 team members from scratch to be highly efficient and fully configurable at runtime. -.Sh OPTIONS +.Sh Options .Bl -tag -width indent .It Fl h , Fl Fl help Displays a summary of Unit's command-line options and their @@ -52,23 +52,23 @@ Overrides the pathname for the PID file of Unit's main process. .It Fl Fl state Ar directory Overrides the directory path for Unit's state storage. .El -.Sh EXIT STATUS +.Sh Exit status Exit status is 0 on success, or 1 if the daemon encounters an error. -.Sh FILES +.Sh Files .Bl -tag -width indent .It Pa %%PID_PATH%% The PID file of Unit's main process. .It Pa %%ERROR_LOG_PATH%% A general-purpose log for diagnostics and troubleshooting. .El -.Sh SOCKETS +.Sh Sockets .Bl -tag -width indent .It Pa %%SOCKET_PATH%% The socket address of Unit's control API. .El -.Sh AUTHORS +.Sh Authors (C) 2017-2021, NGINX, Inc. -.Sh SEE ALSO +.Sh See also .Pp Website: .Pa https://unit.nginx.org -- cgit From c2bb129e47f579833e2f9cc7c9b7c80a831c0cba Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Wed, 26 Apr 2023 15:40:20 +0200 Subject: Docs: documenting the renamed directory flags in unitd.8. Reviewed-by: Artem Konev Signed-off-by: Alejandro Colomar --- docs/man/man8/unitd.8.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in index 88e91d5a..5f50e561 100644 --- a/docs/man/man8/unitd.8.in +++ b/docs/man/man8/unitd.8.in @@ -13,9 +13,9 @@ .Op Fl Fl group Ar name .Op Fl Fl user Ar name .Op Fl Fl log Ar file -.Op Fl Fl modules Ar directory +.Op Fl Fl modulesdir Ar directory .Op Fl Fl pid Ar file -.Op Fl Fl state Ar directory +.Op Fl Fl statedir Ar directory .Nm .Op Fl h | Fl Fl help | Fl Fl version .Sh Description @@ -43,13 +43,13 @@ or UNIX-domain format. Override group name and user name used to run Unit's non-privileged processes. .It Fl Fl log Ar file Overrides the pathname for Unit's log. -.It Fl Fl modules Ar directory +.It Fl Fl modulesdir Ar directory Overrides the directory path for Unit's language modules .Po Pa *.unit.so .Pc files . .It Fl Fl pid Ar file Overrides the pathname for the PID file of Unit's main process. -.It Fl Fl state Ar directory +.It Fl Fl statedir Ar directory Overrides the directory path for Unit's state storage. .El .Sh Exit status -- cgit From 3d76bc59962b74a74642dd7002554dd3bd4e86f1 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Wed, 26 Apr 2023 15:50:19 +0200 Subject: Docs: setting the project name in unitd.8. Not setting it produces the default value of 'BSD' or 'GNU', depending on the software formatting the manual page. We're neither, so let's specify our project name. See groff_mdoc(7). While mandoc_mdoc(7) formally says that .Os is only for the operating system, and not for the package name, that's an oversimplification, and only meant for software inherent to the OS. For portable software, mandoc(1)'s (and OpenBSD's) maintainer Ingo Schwarze agreed that it is more sensible to specify the project name (and optionally, the version). Reviewed-by: Artem Konev Signed-off-by: Alejandro Colomar --- docs/man/man8/unitd.8.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in index 5f50e561..1425120c 100644 --- a/docs/man/man8/unitd.8.in +++ b/docs/man/man8/unitd.8.in @@ -2,7 +2,7 @@ .\" .Dd March 16, 2021 .Dt unitd 8 -.Os +.Os NGINX Unit .Sh Name .Nm unitd .Nd "runs the NGINX Unit daemon" -- cgit From f994b232ff6720fce6bdaa9843239f7899950041 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Wed, 26 Apr 2023 15:55:57 +0200 Subject: Docs: updated unitd.8 date. We've applied significant changes to the page, so let's update the date. While we're at it, let's change it to use ISO 8601 format for the date. Reviewed-by: Artem Konev Signed-off-by: Alejandro Colomar --- docs/man/man8/unitd.8.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in index 1425120c..dceaded3 100644 --- a/docs/man/man8/unitd.8.in +++ b/docs/man/man8/unitd.8.in @@ -1,6 +1,6 @@ .\" (C) 2017-2021, NGINX, Inc. .\" -.Dd March 16, 2021 +.Dd 2023-04-26 .Dt unitd 8 .Os NGINX Unit .Sh Name -- cgit From 8e849db4e633ad5e4039bd1e5185c599ef805f4e Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Wed, 26 Apr 2023 16:18:29 +0200 Subject: Docs: changed Authors section to Copyright section in unitd.8. The Authors section is meant to list the main authors. However, the section only contained the copyright notice, so the Copyright section seems more appropriate. While we change that, it makes sense to also specify the license, and update the copyright year. Reviewed-by: Liam Crilly Reviewed-by: Artem Konev Signed-off-by: Alejandro Colomar --- docs/man/man8/unitd.8.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in index dceaded3..f4b1e54f 100644 --- a/docs/man/man8/unitd.8.in +++ b/docs/man/man8/unitd.8.in @@ -66,8 +66,10 @@ A general-purpose log for diagnostics and troubleshooting. .It Pa %%SOCKET_PATH%% The socket address of Unit's control API. .El -.Sh Authors -(C) 2017-2021, NGINX, Inc. +.Sh Copyright +(C) 2017-2023, NGINX, Inc. +.Pp +SPDX-License-Identifier: Apache-2.0 .Sh See also .Pp Website: -- cgit From 7417987923114a30713f7df3905365f297df0daa Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Thu, 27 Apr 2023 14:21:20 +0200 Subject: Docs: using appropriate mdoc(7) macros for URIs in unitd.8. Reviewed-by: Artem Konev Signed-off-by: Alejandro Colomar --- docs/man/man8/unitd.8.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in index f4b1e54f..bda97bfd 100644 --- a/docs/man/man8/unitd.8.in +++ b/docs/man/man8/unitd.8.in @@ -72,11 +72,8 @@ The socket address of Unit's control API. SPDX-License-Identifier: Apache-2.0 .Sh See also .Pp -Website: -.Pa https://unit.nginx.org +.Lk https://unit.nginx.org Website .Pp -User mailing list: -.Pa https://mailman.nginx.org/mailman/listinfo/unit +.Lk https://mailman.nginx.org/mailman/listinfo/unit "User mailing list" .Pp -GitHub: -.Pa https://github.com/nginx/unit +.Lk https://github.com/nginx/unit GitHub -- cgit From 8843e30e8275aa70bf7eec11709cd5d12e32b4ae Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Mon, 8 May 2023 18:07:10 +0200 Subject: Docs: removed incorrect Pp call in unitd.8. Pp is used to separate paragraphs, not to introduce them. A Pp macro call right after Sh is wrong, and it is ignored by the formatter, which reports a warning about it. Signed-off-by: Alejandro Colomar --- docs/man/man8/unitd.8.in | 1 - 1 file changed, 1 deletion(-) (limited to 'docs') diff --git a/docs/man/man8/unitd.8.in b/docs/man/man8/unitd.8.in index bda97bfd..a43e671f 100644 --- a/docs/man/man8/unitd.8.in +++ b/docs/man/man8/unitd.8.in @@ -71,7 +71,6 @@ The socket address of Unit's control API. .Pp SPDX-License-Identifier: Apache-2.0 .Sh See also -.Pp .Lk https://unit.nginx.org Website .Pp .Lk https://mailman.nginx.org/mailman/listinfo/unit "User mailing list" -- cgit From 14d6d97bacf9b06ba340ebd4211b2f1b6ad417dd Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Thu, 20 Apr 2023 23:20:41 +0800 Subject: HTTP: added basic URI rewrite. This commit introduced the basic URI rewrite. It allows users to change request URI. Note the "rewrite" option ignores the contained query if any and the query from the request is preserverd. An example: "routes": [ { "match": { "uri": "/v1/test" }, "action": { "return": 200 } }, { "action": { "rewrite": "/v1$uri", "pass": "routes" } } ] Reviewed-by: Alejandro Colomar --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index 740a51a5..6c89fa15 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -32,6 +32,12 @@ NGINX Unit updated to 1.30.0. date="" time="" packager="Nginx Packaging <nginx-packaging@f5.com>"> + + +basic URI rewrite support. + + + added conditional logging of route selection for HTTP requests. -- cgit From a3c3a29493798873ad04922bb2a7180b2ce267d5 Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Mon, 8 May 2023 16:00:25 +0800 Subject: NJS: supported loadable modules. --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index 6c89fa15..9567aebd 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -38,6 +38,12 @@ basic URI rewrite support. + + +njs loadable modules support. + + + added conditional logging of route selection for HTTP requests. -- cgit From 7a77f48a25f4f719c51ed83dac9bf5dd844ba3f3 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Wed, 3 May 2023 16:13:36 -0700 Subject: Packages: added Ubuntu 23.04 "lunar" support. --- docs/changes.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index 9567aebd..4828717b 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -14,7 +14,7 @@ unit-ruby unit-jsc-common unit-jsc8 unit-jsc10 unit-jsc11 unit-jsc13 unit-jsc14 unit-jsc15 unit-jsc16 unit-jsc17 unit-jsc18 - unit-jsc19" + unit-jsc19 unit-jsc20" ver="1.30.0" rev="1" date="" time="" packager="Nginx Packaging <nginx-packaging@f5.com>"> @@ -28,6 +28,19 @@ NGINX Unit updated to 1.30.0. + + + + +Initial release of Java 20 module for NGINX Unit. + + + + + + -- cgit From ec275200f7b8557877f193a190b285ca4f317a36 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Wed, 10 May 2023 16:07:25 +0100 Subject: Edited "changes.xml" for the 1.30.0 release. --- docs/changes.xml | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index 4828717b..6745694f 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -45,6 +45,12 @@ Initial release of Java 20 module for NGINX Unit. date="" time="" packager="Nginx Packaging <nginx-packaging@f5.com>"> + + +remove Unix domain listen sockets upon reconfiguration. + + + basic URI rewrite support. @@ -53,13 +59,19 @@ basic URI rewrite support. -njs loadable modules support. +NJS loadable modules support. -added conditional logging of route selection for HTTP requests. +per-application logging. + + + + + +conditional logging of route selection. @@ -71,8 +83,21 @@ support the keys API on the request objects in NJS. -added default values for 'make install' pathnames such as prefix; -this allows to do './configure && make && sudo make install'. +default values for 'make install' pathnames such as prefix; +this allows to './configure && make && sudo make install'. + + + + + +"server_version" setting to omit the version token from "Server" header field. + + + + + +request header field values could be corrupted in some cases; the bug had +appeared in 1.29.0. @@ -82,6 +107,12 @@ PHP error handling (added missing 403 and 404 errors). + + +Perl applications crash on second responder call. + + + -- cgit From 03718e0bdfb952a059954b6f601b7350eb9524a6 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Wed, 10 May 2023 16:53:01 +0100 Subject: Added version 1.30.0 CHANGES. --- docs/changes.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index 6745694f..81fb1370 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -16,7 +16,7 @@ unit-jsc14 unit-jsc15 unit-jsc16 unit-jsc17 unit-jsc18 unit-jsc19 unit-jsc20" ver="1.30.0" rev="1" - date="" time="" + date="2023-05-10" time="18:00:00 +0300" packager="Nginx Packaging <nginx-packaging@f5.com>"> @@ -42,7 +42,7 @@ Initial release of Java 20 module for NGINX Unit. -- cgit