Skip to content

Commit f20844c

Browse files
authored
Protect /api access
1 parent 150129c commit f20844c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openid_connect.server_conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@
108108

109109
location /api/ {
110110
api write=on;
111-
#allow 127.0.0.1; # Only the NGINX host may call the NIGNX Plus API
112-
#deny all;
111+
allow 127.0.0.1; # Only the NGINX host may call the NIGNX Plus API
112+
deny all;
113113
}
114114

115115
# vim: syntax=nginx

0 commit comments

Comments
 (0)