-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
The usual thing to do with python web servers is to put them behind a reverse proxy, such as NGINX. And the usual thing to do to a server behind NGINX is to run it locally bound to a unix socket. However, there seems to be no way to do just that currently in PTB, as far as I can see in the webhookhandler.py file?
Describe the solution you'd like
I think I'd be nice to have an additional parameter in the WebhookServer constructor, such as unix_socket, which would bind the server to the specified unix socket instead of the host-port pair.
Describe alternatives you've considered
No response