I am running nginx on my Debian 8.5 64bit , which is used as a reverse proxy for my node applications. Each request goes through my reverse proxy before being redirected to special applications. Therefore, I use this configuration:
upstream socket_nodes { server 127.0.0.1:3000; server myUrl.com:3000; server MY.ROOTSERVER.IP.ADDRESS:3000; } server { listen 80 default_server; listen [::]:80 default_server; server_name myUrl.com; return 301 https://$server_name$request_uri; } server {
Unfortunately this does not work. I can get to my site via https ( https://www.myWebsite.com ) and it works great.
So, I changed the endpoint of my alexa skill in the Amazon Developer Console to: https://www.myWebsite.com/alexa-api (with and without trailing / ), but it does not work. The skill server itself worked when I used it locally and made it available through ngrok . What am I doing wrong here?
change
There is also a socket.io server running in the same application that can be accessed from the Internet (server logs “new client connected”), but I can not emit any events between them. HTTP Status Code of socket.io connection (correct) 101 Switching Protocols .
Hello
source share