Deny everyone but my network to access admin page for a guestbook.
This commit is contained in:
parent
ecb52b7672
commit
50e9f3470e
@ -29,6 +29,11 @@ server {
|
|||||||
proxy_set_header Schema $scheme;
|
proxy_set_header Schema $scheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /guestbook/admin {
|
||||||
|
allow 192.168.144.0/25;
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
location /api/captcha/ {
|
location /api/captcha/ {
|
||||||
limit_req zone=captcha_api nodelay;
|
limit_req zone=captcha_api nodelay;
|
||||||
|
Loading…
Reference in New Issue
Block a user