Skip to content

Commit 5eab392

Browse files
Added step to reload NGINX after adding JWT (#484)
added step to reload NGINX after adding JWT
1 parent 77ce1e7 commit 5eab392

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
---
22
docs:
3+
file:
4+
- content/solutions/about-subscription-licenses.md
5+
- content/nap-waf/v5/admin-guide/install.md
36
---
47

58
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.
9+
2. Reload NGINX:
610

7-
1. **SELinux**: If you're running a Linux distribution with SELinux enabled, set the file security context type with the following command:
8-
9-
```bash
10-
chcon -t httpd_config_t /etc/nginx/license.jwt
11+
```shell
12+
systemctl reload nginx
1113
```
14+
15+
**If SELinux is enabled**:
16+
17+
Set the correct file context so NGINX can read the license:
18+
19+
```shell
20+
chcon -t httpd_config_t /etc/nginx/license.jwt
21+
```

content/includes/licensing-and-reporting/configure-nginx-plus-report-to-nim.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ docs:
1717
3. Reload NGINX:
1818
1919
``` bash
20-
nginx -s reload
20+
systemctl reload nginx
2121
```

content/solutions/about-subscription-licenses.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Before you install or upgrade to NGINX Plus R33 or later, make sure to:
5353

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

56-
#### Custom paths: {#custom-paths}
56+
### Custom paths {#custom-paths}
5757

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

0 commit comments

Comments
 (0)