Using Nginx as a reverse proxy to deploy Wave apps #2204
Unanswered
n-srinidhi
asked this question in
Q&A
Replies: 1 comment
-
Does the example repo work though? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I am deploying a Wave Dashboard app to production. I need to use Nginx to configure a reverse proxy to map a path to a required port. This is to avoid opening up ports for hosting Wave app. I found this repo for the same.
I tried setting it up myself following the example but seem to be running into problems:
This is my nginx.conf file:
And then, Enabling web sockets and adding info in another config file stored in conf.d directory in the main directory where nginx is stored.
I dont have a domain name mapped so i skipped the server name. I added SSH certification files for encryption and checked on
https://localhost:10101/ but the issue persists.
Update: I got my proxy server running by Nginx, But I think the issue is in the server communicating with the web server using web sockets because I'm getting the following error on my Wave Server Console:
2023/11/23 13:36:02 # {"err":"websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header","t":"socket_upgrade"}
I have added this to My Nginx conf file and still get this:
Beta Was this translation helpful? Give feedback.
All reactions