1
0
Fork 0

Deny everyone but my network to access admin page for a guestbook.

This commit is contained in:
Alexander Andreev 2023-05-10 00:38:21 +04:00
parent ecb52b7672
commit 50e9f3470e
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,11 @@ server {
proxy_set_header Schema $scheme;
}
location /guestbook/admin {
allow 192.168.144.0/25;
deny all;
}
location /api/captcha/ {
limit_req zone=captcha_api nodelay;