diff --git a/nginx.conf b/nginx.conf index 45152dafc..cdd81d54b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -25,6 +25,8 @@ server { include includes/headers; } location /refresh_chat { + allow 127.0.0.1; + deny all; proxy_pass http://localhost:5001/refresh_chat; include includes/headers; }