M
M
mark_me2019-10-03 19:40:48
cloudflare
mark_me, 2019-10-03 19:40:48

Telegram BOT and Cloudflare how to implement?

Hello.

For my project, it was necessary to make a telegram bot, DNS was on cloudflare, to protect against DDOS and SSL. After some time, CF did not miss some requests from the telegram and had to wait for some time.

How to solve this problem? I wanted to connect directly, via an IP address (without a domain), but telegrams require an SSL certificate.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mokaton, 2019-10-03
@mokaton

Make a sub-domain ala telega.mydomain.ru and wrap hooks from the cart on it.
Or, make a filter on CF for the telegram subnet (they have it in the documentation), but I'm not sure that CF can do this, you need to check it.

A
Andrey Gavrilov, 2019-10-04
@thexaver

Get a certificate with letsencrypt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question