chore: update

This commit is contained in:
2026-06-12 17:51:17 +02:00
parent d18052e749
commit ce45314c78
7 changed files with 356 additions and 33 deletions
+17 -1
View File
@@ -126,7 +126,23 @@ server {
}
# ---------------------------------------------------
# Webhooks Telegram (LBTelegram — /webhook/bot1, /webhook/bot2…)
# Webhook Telegram principal → backend Go
# ---------------------------------------------------
location = /webhook/telegram {
limit_except POST { deny all; }
set $upstream_backend http://backend:8080;
proxy_pass $upstream_backend;
proxy_http_version 1.1;
proxy_set_header Connection "";
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;
}
# ---------------------------------------------------
# Webhooks LBTelegram (/webhook/bot1, /webhook/bot2…)
# ---------------------------------------------------
location /webhook/ {
limit_except POST { deny all; }