Nginx setting to allow wss sockets to connect

General idea of the config https + proxy pass + virtual host Nginx as a proxy causes a failure of wss:// connections to the backend server. add these parameters to the proxy section :   proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection “upgrade”; proxy_set_header Host $host; Voila’  !!! 😉 nJoy  

Using Stunnel to Encrypt Unsecure Connections

So you’re a fully signed up ‘tin foil hatter’ and you have an old app that communicates over the internet but doesn’t use SSL? Not to worry, there is a solution for you and its called stunnel. Stunnel is available for both Linux and Windows, and simply put creates an SSL tunnel from one machine…

SSH through HTTP proxy

This article explains how to connect to a ssh server located on the internet from a local network protected by a firewall through a HTTPS proxy. Requirement are : Your firewall has to allow HTTPS connections through a proxy You need to have root access to the server where ssh is listening Configure the ssh…