Hey, is there any guide for using webhooks with nginx

reverse proxy?
I'm trying to use it with a SSL certificate from Let's Encrypt and my subdomain which points towards my VPS but still it won't respond, I was following this but my server shows either 502 error or 404 with reverse proxy setup.

But, if I directly use a port on the webserver, say 8443 it shows the SSL error: SSL error {error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed}"

10 ответов

26 просмотров
Divkix- Автор вопроса

you mean the bot webhook server? I don't know about that yet using webhooks for first time

Yes, Make sure you disable the TLS configuration on the bot webhook server.

Divkix- Автор вопроса

Haven't enabled anything on the bot server, didn't attach the certificate to StartWebhook How could I do that?

StartWebHook doesn't need nginx to be run

Divkix- Автор вопроса

need to use a subdomain instead of pointing bot directly to a url:port

what

just put cert path in the parameter of the particular library you're using it should be done, also ssls like zerossl aren't recognized by tg bot api

Divkix- Автор вопроса

still shows 404, using let's encrypt cert

It doesn't work as well most probably

Divkix- Автор вопроса

huh

Похожие вопросы

Карта сайта