Skip to content

Commit

Permalink
Merge branch 'main' into bug-1493
Browse files Browse the repository at this point in the history
  • Loading branch information
ADubhlaoich authored Jan 9, 2025
2 parents 7dea5c4 + 3c4736f commit 24dc9a3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ docs:
}
```
{{<call-out "note" "Self-signed certificates" "" >}}
For details on using self-signed certificates, see [Configure SSL verification for usage reporting with self-signed certificates]({{< relref "nim/system-configuration/secure-traffic.md#configure-ssl-verify" >}}).
{{</call-out>}}
{{<call-out "note" "Extra steps for self-signed certificates">}}If you use self-signed certificates in your NGINX Instance Manager environment, follow the steps in [Configure SSL verification for usage reporting with self-signed certificates]({{< relref "nim/system-configuration/secure-traffic.md#configure-ssl-verify" >}}).{{</call-out>}}
3. Reload NGINX:
Expand Down
15 changes: 10 additions & 5 deletions content/nginx/admin-guide/dynamic-modules/lua.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Integrate Lua co-routines into the NGINX event-processing model with the communi

1. Check the [Technical Specifications]({{< relref "../../technical-specs.md" >}}) page to verify that the module is supported by your operating system.

2. Prior to installing the module, verify that the [NDK]({{< relref "ndk.md" >}}) module is already installed.
2. Prior to installing the module, verify that the [NGINX Developer Kit (NDK)]({{< relref "nginx/admin-guide/dynamic-modules/ndk.md" >}}) module is already installed.


<span id="install"></span>
Expand Down Expand Up @@ -64,18 +64,19 @@ Integrate Lua co-routines into the NGINX event-processing model with the communi

## Configuration

After installation you will need to enable and configure the module in F5 NGINX Plus configuration file `nginx.conf`.
After installation, enable and configure the modules in NGINX Plus configuration file `nginx.conf`.

1. Enable dynamic loading of NDK and Lua modules with the [`load_module`](https://nginx.org/en/docs/ngx_core_module.html#load_module) directives specified in the top-level (“`main`”) context:

```nginx
load_module modules/ndk_http_module.so;
load_module modules/ngx_http_lua_module.so;
load_module modules/ngx_stream_lua_module.so;
```

{{< note >}} The directives must be in this order. {{< /note >}}
{{< note >}} The `ndk_http_module.so` module must be placed first. {{< /note >}}

2. Perform additional configuration as required by the [module](https://github.com/openresty/lua-nginx-module).
2. Configure additional settings as needed for the modules. For details, see the [`lua-nginx-module`](https://github.com/openresty/lua-nginx-module) and [`stream-lua-nginx-module`](https://github.com/openresty/stream-lua-nginx-module) documentation.

3. Test the configuration and reload NGINX Plus to enable the module:

Expand All @@ -87,7 +88,11 @@ After installation you will need to enable and configure the module in F5 NGINX
<span id="info"></span>
## More Info

- [NGINX Lua Module Reference](https://github.com/openresty/lua-nginx-module)
- [The `lua-nginx-module` Module Reference](https://github.com/openresty/lua-nginx-module)

- [The `stream-lua-nginx-module` Module Reference](https://github.com/openresty/stream-lua-nginx-module)

- [The NDK Module Reference](https://github.com/vision5/ngx_devel_kit)

- [NGINX Dynamic Modules]({{< relref "dynamic-modules.md" >}})

Expand Down
2 changes: 0 additions & 2 deletions content/solutions/about-subscription-licenses.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ In environments where NGINX Plus instances cannot access the internet, you'll ne

#### Configure NGINX Plus to report usage to NGINX Instance Manager

{{<call-out "note" "Extra setup for self-signed certificates">}}If your NGINX Instance Manager environment uses self-signed certificates, see [Configure SSL verification for usage reporting with self-signed certificates]({{< relref "nim/system-configuration/secure-traffic.md#configure-ssl-verify" >}}).{{</call-out>}}

To configure NGINX Plus R33 or later to report usage data to NGINX Instance Manger:

{{< include "licensing-and-reporting/configure-nginx-plus-report-to-nim.md" >}}
Expand Down

0 comments on commit 24dc9a3

Please sign in to comment.