Allow for websocket traffic on Docker Proxy Rules
This is a suggestion to add an option to the Docker Proxy Rule feature to add additional proxy configuration that allows websocket traffic.
Currently when adding a Docker Proxy Rule via Plesk a proxy directive gets added to the domain's nginx configuration file. This proxy directive however does not cover configuration for websocket traffic. Because this proxy directive takes precedence over any nginx directives added to the domain's Additional nginx directives (saved in the vhost_nginx.conf) there is no way to make websockets work with a docker container when a Docker Proxy Rule is created via Plesk.
My proposed solution would be to add an optional option to the Docker Proxy Rule to allow for websocket traffic on the proxy. (Adding the needed nginx configuration for websockets to the proxy directives).
We are glad to inform you that support for websocket traffic on Docker Proxy Rules was introduced in Docker 1.9.1. Thank you all for helping Plesk and its extensions' continued improvement.
-- SH
-
Ade Christanto commented
Please I need this . My self hosted n8n need this to be working with docker on plesk. Thank you plesk!
-
Konstantin Siegl commented
This is an absolutely critical feature. There is no way to add it manually right now without it getting overridden when you change the docker proxy config in the UI. That's really suboptimal.
-
Penguin Noot commented
Absolutely definitely needed, really struggling to configure Soketi at the moment
-
Deno commented
The function is urgently needed. The misconfiguration has already confused some users and led to many posts in the forums.