From 1c952a53cb8f7fe021435869f6c6de263abcf079 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 14 May 2023 03:32:44 +0400 Subject: [PATCH] Restricted access to /api/mindflow. Removed limit_req. --- configs/nginx.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/nginx.conf b/configs/nginx.conf index 91f1e2d..63b41b6 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -40,8 +40,11 @@ server { } location ~ /api/guestbook/.+ { - limit_req zone=captcha_api nodelay; + allow 192.168.144.0/25; + deny all; + } + location ~ /api/mindflow?.+ { allow 192.168.144.0/25; deny all; }