Answer the question
In order to leave comments, you need to log in
How to redirect a request to a telegram bot application?
There is a server 45.45.45.54. The aiogram documentation example webhook is running on the server. The https://botbotbot.com domain redirects the request to 45.45.45.54:443. The server also has nginx with the config:
server {
listen 443;
server_name 45.45.45.54;
location / {
proxy_pass localhost:3001;
}
}
{"url": "45.45.45.54", "has_custom_certificate": false, "pending_update_count": 1, "last_error_date": 1623575279, "last_error_message": "Connection reset by peer", "max_connections": 40, "ip_address": "45.45.45.54"}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question