Initial commit: VPN Telegram bot (sanitized defaults)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Домен Mini App. DNS A-запись → IP этого сервера.
|
||||
# Порты 80 и 443 должны быть свободны (для Let's Encrypt).
|
||||
|
||||
{$WEBAPP_DOMAIN:bot.example.com} {
|
||||
encode gzip
|
||||
reverse_proxy bot:8080
|
||||
|
||||
header {
|
||||
X-Content-Type-Options nosniff
|
||||
Referrer-Policy no-referrer-when-downgrade
|
||||
# Telegram Login popup (OIDC)
|
||||
Cross-Origin-Opener-Policy "same-origin-allow-popups"
|
||||
}
|
||||
|
||||
log {
|
||||
output stdout
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user