Skip to content

Commit 19941fb

Browse files
committed
Code review comments
1 parent fa8384e commit 19941fb

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

internal/mode/static/nginx/conf/nginx-plus.conf

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@ http {
2727
tcp_nopush on;
2828

2929
server {
30-
listen 8765;
30+
listen 127.0.0.1:8765;
3131
root /usr/share/nginx/html;
3232
access_log off;
3333

34-
allow 127.0.0.1;
35-
deny all;
36-
3734
location = /dashboard.html {}
3835

3936
location /api {

site/content/how-to/monitoring/dashboard.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ The NGINX Plus dashboard offers a real-time live activity monitoring interface t
1414

1515
To access the dashboard:
1616

17-
1. Use port-forwarding to forward connections to port 8080 on your local machine to port 8765 on the NGINX Gateway Fabric pod (replace `<nginx-gateway-fabric-pod>` with the actual name of the pod).
18-
19-
{{< note >}}8080 is just an example local port. You can specify any unused port that you want.{{< /note >}}
17+
1. Use port-forwarding to forward connections to port 8765 on your local machine to port 8765 on the NGINX Gateway Fabric pod (replace `<nginx-gateway-fabric-pod>` with the actual name of the pod).
2018

2119
```shell
22-
kubectl port-forward <nginx-gateway-fabric-pod> 8080:8765 -n nginx-gateway
20+
kubectl port-forward <nginx-gateway-fabric-pod> 8765:8765 -n nginx-gateway
2321
```
2422

25-
1. Open your browser to [http://127.0.0.1:8080/dashboard.html](http://127.0.0.1:8080/dashboard.html) to access the dashboard.
23+
1. Open your browser to [http://127.0.0.1:8765/dashboard.html](http://127.0.0.1:8765/dashboard.html) to access the dashboard.
2624

2725
The dashboard will look like this:
2826

0 commit comments

Comments
 (0)