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).
Thank you for your idea! We will consider this functionality in upcoming releases if it will be popular.
Everyone, please continue voting for this feature if you consider it important.
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
The function is urgently needed. The misconfiguration has already confused some users and led to many posts in the forums.