Skip to content

Commit db4e671

Browse files
committed
Reapply allow/deny; fix image tag
1 parent 19941fb commit db4e671

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ http {
3131
root /usr/share/nginx/html;
3232
access_log off;
3333

34+
allow 127.0.0.1;
35+
deny all;
36+
3437
location = /dashboard.html {}
3538

3639
location /api {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To access the dashboard:
2424

2525
The dashboard will look like this:
2626

27-
{{<img src="img/nginx-plus-dashboard.png" alt="NGINX Plus dashboard">}}
27+
{{<img src="img/nginx-plus-dashboard.png" alt="">}}
2828

2929

3030
{{< note >}}The [API](https://nginx.org/en/docs/http/ngx_http_api_module.html), which the dashboard uses to get the metrics, is also accessible using the `/api` path.{{< /note >}}

0 commit comments

Comments
 (0)