Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure HTTPS and WSS proxy to an external address in the same port? #353

Open
Windol opened this issue Mar 8, 2024 · 1 comment

Comments

@Windol
Copy link

Windol commented Mar 8, 2024

I need to configure an instance of https-portal to work as a proxy to a SSL external Node-RED server.
The Node-RED server is listening https and websocket wss in the same port 443.
To work I need to enable WEBSOCKET: true and configure DOMAINS: "node-red.mirror.example.com -> https://node-red.example.com.
I do that, the https://node-red.mirror.example.com works fine, but wss://node-red.mirror.example.com doesn't work.
What's wrong?

@SteveLTN
Copy link
Owner

This is the code for generating Nginx configuration. Please have a look and see if the generated config meets your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants