Skip to content

Commit bd29cc7

Browse files
committed
edits
1 parent 418a25d commit bd29cc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/includes/use-cases/monitoring/enable-nginx-plus-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ server {
3131
# For methods other than GET, require auth and restrict to a network
3232
limit_except GET {
3333
# Prompt for credentials with this realm
34-
auth_basic "NGINX Plus API";
34+
auth_basic "NGINX Plus API";
3535
# Path to the file with usernames and passwords
3636
auth_basic_user_file /path/to/passwd/file;
3737
3838
# Allow only this IP range (replace with your own)
39-
allow 192.0.2.0/24;
39+
allow 192.0.2.0/24;
4040
# Deny all other IPs
41-
deny all;
41+
deny all;
4242
}
4343
}
4444

0 commit comments

Comments
 (0)