Skip to content

Added step to reload NGINX after adding JWT #484

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions content/includes/licensing-and-reporting/apply-jwt.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
---
docs:
file:
- content/solutions/about-subscription-licenses.md
- content/nap-waf/v5/admin-guide/install.md
---

1. Copy the license file to `/etc/nginx/license.jwt` on Linux or `/usr/local/etc/nginx/license.jwt` on FreeBSD for each NGINX Plus instance.
2. Reload NGINX:

1. **SELinux**: If you're running a Linux distribution with SELinux enabled, set the file security context type with the following command:

```bash
chcon -t httpd_config_t /etc/nginx/license.jwt
```shell
systemctl reload nginx
```

**If SELinux is enabled**:

Set the correct file context so NGINX can read the license:

```shell
chcon -t httpd_config_t /etc/nginx/license.jwt
```
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ docs:
3. Reload NGINX:

``` bash
nginx -s reload
systemctl reload nginx
```
2 changes: 1 addition & 1 deletion content/solutions/about-subscription-licenses.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Before you install or upgrade to NGINX Plus R33 or later, make sure to:

{{< include "licensing-and-reporting/apply-jwt.md" >}}

#### Custom paths: {#custom-paths}
### Custom paths {#custom-paths}

{{< include "licensing-and-reporting/custom-paths-jwt.md" >}}

Expand Down
Loading