captjack on Nostr: #websockify web sockets wss sudo aptitude -y install python3-websockify websockify ...
#websockify web sockets wss
sudo aptitude -y install python3-websockify
websockify --help | more
or
pip install websockify
openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem
test it urself then can use real domain n letsencrypti cert - certbot later
websockify --cert=self.pem 50055 your.tcpserver.com:8080
websockify --cert=self.pem --web=/www 50055 your.tcpserver.com:8080
Published at
2025-03-15 19:30:05Event JSON
{
"id": "000038e617fa5f1dd10ceec231a0e65d14e854aec7c23dfd5140bd35ed556a1b",
"pubkey": "5e5fc1434c928bcdcba6f801859d5238341093291980fd36e33b7416393d5a2c",
"created_at": 1742067005,
"kind": 1,
"tags": [
[
"t",
"websockify"
],
[
"nonce",
"293098",
"18"
]
],
"content": "#websockify web sockets wss\nsudo aptitude -y install python3-websockify\nwebsockify --help | more\nor \npip install websockify\nopenssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem\ntest it urself then can use real domain n letsencrypti cert - certbot later\nwebsockify --cert=self.pem 50055 your.tcpserver.com:8080 \nwebsockify --cert=self.pem --web=/www 50055 your.tcpserver.com:8080\nhttps://image.nostr.build/92136762dc81b215aae155ef416d6afb9408832435ce851aaa8c2c06081f0d03.png \n",
"sig": "5aa7d40486bda3633d6096b8280c8f672db95607a8a15969a030e91d00aeb84245238a176ed3beac3b95308486bc5f7d321d59304f5fa14eb1e61c7fb2c2e1a2"
}