SteveLTN / https-portal

A fully automated HTTPS server powered by Nginx, Let's Encrypt and Docker.
MIT License
4.46k stars 295 forks source link

WEBSOCKET connections #310

Open juantoman opened 2 years ago

juantoman commented 2 years ago

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

WEBSOCKET=true

But, where?

Thank you very much.

SteveLTN commented 2 years ago

In environment variables in docker-compose.yml.

accforgithubtest commented 1 year ago

@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 commented 1 year ago

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]