https-portal icon indicating copy to clipboard operation
https-portal copied to clipboard

WEBSOCKET connections

Open juantoman opened this issue 3 years ago • 3 comments

Hello! To make HTTPS-PORTAL proxy WEBSOCKET connections, I have to write this:

WEBSOCKET=true

But, where?

Thank you very much.

juantoman avatar May 12 '22 22:05 juantoman

In environment variables in docker-compose.yml.

SteveLTN avatar May 14 '22 04:05 SteveLTN

@SteveLTN - Adding WEBSOCKET=true gives a yaml error. WEBSOCKET: true also gives me a error for the "true" as it is not a string. How exactly is this added to docker compose yaml ? I saw your examples, and couldnt see it there, so any reply is appreciated ! Thanks!

accforgithubtest avatar Aug 15 '23 00:08 accforgithubtest

Found another example in a different issue, which seems to work.

For anyone else coming across this - looks like WEBSOCKET: 'true' is the way to go [i.e - true within single quotes]

accforgithubtest avatar Aug 15 '23 01:08 accforgithubtest