Restrict everything but /api/guestbook endpoint.
This commit is contained in:
parent
cd5ea3ea5c
commit
15d357070c
@ -39,7 +39,7 @@ server {
|
||||
limit_req zone=captcha_api nodelay;
|
||||
}
|
||||
|
||||
location /api/guestbook/ {
|
||||
location ~ /api/guestbook/.+ {
|
||||
limit_req zone=captcha_api nodelay;
|
||||
|
||||
allow 192.168.144.0/25;
|
||||
|
Loading…
Reference in New Issue
Block a user