You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 asunix_socket
, which would bind the server to the specified unix socket instead of the host-port pair.Describe alternatives you've considered
No response
Additional context
Here is the docs confirming, that currently you'd use NGINX only with a regular localhost connection.
The text was updated successfully, but these errors were encountered: