feat: migrate VK bot to Callback API

This commit is contained in:
nyan404 committed 2026-10-10 21:33:56 +03:00
1 parent 2794546974
commit a04498d634
10 files changed
+438 -58

No files matched your search

+9
View File
@@ -114,6 +114,15 @@ http {
proxy_pass http://10.12.0.212/sudoku/;
}
location = /api/vk/callback {
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://belki-bot:8081/api/vk/callback;
}
location ^~ /api/ {
proxy_http_version 1.1;
proxy_set_header Host $host;