dont allow any random nigga to refresh chat for everyone

master
Aevann 2023-09-26 18:25:52 +03:00
parent f7e4c77898
commit d790771a71
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}